This is the mail archive of the gcc@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]

#pragma implementation


With egcs I get the following warning:

gcc -g -Wall -pedantic -m486 -pipe -DGODMODE -I../include -c ircd.c -o ircd.o
ircd.c:22: warning: ignoring pragma: implementation

>From the egcs code I find

              /* Issue a warning message if we have been asked to do so.
                 Ignoring unknown pragmas in system header file unless
                 an explcit -Wunknown-pragmas has been given. */
              if (warn_unknown_pragmas > 1
                  || (warn_unknown_pragmas && ! in_system_header))
                warning ("ignoring pragma: %s", string);

that this means egcs doesn't understand "#pragma implementation" anymore.

How can I get the same behaviour that I could get before?
I couldn't find any information about this in Changelog* or gcc.info* :(.

Thanks,

-- 
 Carlo Wood  <carlo@runaway.xs4all.nl>


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