This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
incorrect gcc 3.4.1 #pragma use warning
- From: Jeffrey Holle <jeff dot holle at verizon dot net>
- To: gcc-help at gcc dot gnu dot org
- Date: Sun, 25 Jul 2004 20:01:41 -0700
- Subject: incorrect gcc 3.4.1 #pragma use warning
- Reply-to: jeff dot holle at verizon dot net
Just thought I'd communicate, hopefully to the right people, a problem
I've observed.
In compiling code that compiled cleanly with gcc 2.3.3, with gcc 3.4.1,
I get:
warning: #pragma implementation for calendar.cpp appears after file
is included
The code that produced this was:
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma implementation "calendar.cpp" <-- indicated line
#pragma interface "calendar.cpp"
#endif
There are no inclusions in this file prior to the above code, just a
comment header.