Warnings being interpreted as errors [message #199652] |
Fri, 17 August 2007 10:04 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Phil Wingfield![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=wingphil%40yahoo.com) Messages: 1 Registered: July 2009 |
Junior Member |
|
|
Hello there,
I'm having an annoying problem with Eclipse Europa CDT on windows using
cygwin. It happens with either the internal builder or the make builder.
Below is an excerpt from the console output. The problem I'm having is
that even though the particular source file compiles correctly, some of
the warning info is being interpreted by Eclipse as errors. Please excuse
the overuse of templates, the design isn't mine :)
The lines beginning ../TerrainImportHandler.hpp:117: and
../TerrainImportHandler.hpp:1120:, with the message 'instantiated from'
followed by a method signature, show up in the problems view as errors
when actually they're just giving extra information about the following
warning. Is there anywhere I can configure them to be warnings? I know I
can filter them out in the problems view if I want but this is only a
partial solution.
Thanks for any help, the console output follows,
Phil
===========================================================
Building file: ../GDMFacade.cpp
Invoking: Cygwin C++ Compiler
g++ -D_LIB -I../../../include -I../../../thirdparty/includes
-I"C:\p_wingfield\GEDIS\source\InternalUtilities"
-I"C:\cygwin\usr\include" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP
-MF"GDMFacade.d" -MT"GDMFacade.d" -o"GDMFacade.o" "../GDMFacade.cpp"
...
In file included from ../GDMFacade.cpp:16:
../TerrainImportHandler.hpp: In instantiation of
`gedis::gdm::ASCDataStore<gedis::gdm::CTerrainPoint>':
../TerrainImportHandler.hpp:117: instantiated from
`gedis::gdm::CTerrainImportHandler<gedis::gdm::CTerrainPoint >'
../GDMFacade.hpp:134: instantiated from here
../TerrainImportHandler.hpp:1068: warning: `class
gedis::gdm::ASCDataStore<gedis::gdm::CTerrainPoint>' has virtual functions
but non-virtual destructor
In file included from ../GDMFacade.cpp:16:
../GDMFacade.hpp:163:33: warning: no newline at end of file
../TerrainImportHandler.hpp: In instantiation of
`gedis::gdm::ASCTile<gedis::gdm::CTerrainPoint>':
../TerrainImportHandler.hpp:1120: instantiated from
`boost::shared_ptr<const gedis::gdm::CGridObject<PointType> >
gedis::gdm::ASCDataStore<StorageType>::GetTile(const
gedis::CLatLongCoord&) [with StorageType = gedis::gdm::CTerrainPoint]'
../GDMFacade.cpp:266: instantiated from here
../TerrainImportHandler.hpp:829: warning: `class
gedis::gdm::ASCTile<gedis::gdm::CTerrainPoint>' has virtual functions but
non-virtual destructor
../../../include/GEDIS_GDM_If.hpp:347: warning: inline function
`gedis::gdm::CBitmapPoint::CBitmapPoint(unsigned char, unsigned char,
unsigned char, unsigned char)' used but never defined
Finished building: ../GDMFacade.cpp
|
|
|
|
Powered by
FUDForum. Page generated in 0.03824 seconds