This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Warning about multiply defined __P on SunOS




Hi again,

using egcs on SunOS 5.6 I get error messages from the preprocessor,
telling me the following:

In file included from
/usr/local/gcc/egcs-19980803/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.53/include/math.h:5,
                 from /usr/local/gcc/egcs-19980803/include/g++/cmath:7,
                 from problem_base.cc:20:
/usr/include/math.h:19: warning: `__P' redefined
/usr/local/include/sys/cdefs.h:80: warning: this is the location of the
                                   previous definition

Actually, I don't know whether this does any harm, but it makes me feel a
bit unsafe. Also, I do not know who is guilty, because the error happens
in standard headers belonging to the system rather than to egcs. Any
simple cure?

Regards, 
  Wolfgang



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]