OMNeT++/OMNEST Bug Tracker - OMNeT++
View Issue Details
0000258OMNeT++IDE / C++ developmentpublic2011-02-24 17:272017-02-01 17:30
andras 
andras 
normalminorhave not tried
resolvedno change required 
4.1 
5.1pre3 
0000258: Bogus warning: "Makefile autodeps: cannot find included file"
Create a C++ file with (one or both of) the following lines:

#include "omnetpp.h"
#include "platdep/sockets.h"

When I build the project, both lines will be flagged with the warning "Makefile autodeps: cannot find included file".

When I replace "" with <>, the warnings go away. Looks like "" includes are not searched for outside the project.

According to C/C++ rules, "" includes are a superset of <> includes ("" searches everywhere <> does, plus in the local directory), so the IDE should find omnetpp.h etc with "" too.
No tags attached.
Issue History
2011-02-24 17:27andrasNew Issue
2011-05-17 11:16andrasAssigned To => andras
2017-02-01 17:30andrasNote Added: 0001305
2017-02-01 17:30andrasStatusnew => resolved
2017-02-01 17:30andrasFixed in Version => 5.1pre3
2017-02-01 17:30andrasResolutionopen => no change required

Notes
(0001305)
andras   
2017-02-01 17:30   
C++ dependency handling has been reworked in the IDE, there is no dependency cache any more, and this message should never appear.