incorrect gcc 3.4.1 #pragma use warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux