OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000258OMNeT++IDE / C++ developmentpublic2011-02-24 17:272017-02-01 17:30
Reporterandras 
Assigned Toandras 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionno change required 
PlatformOSOS Version
Product Version4.1 
Target VersionFixed in Version5.1pre3 
Summary0000258: Bogus warning: "Makefile autodeps: cannot find included file"
DescriptionCreate 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.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001305)
andras (administrator)
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.

- Issue History
Date Modified Username Field Change
2011-02-24 17:27 andras New Issue
2011-05-17 11:16 andras Assigned To => andras
2017-02-01 17:30 andras Note Added: 0001305
2017-02-01 17:30 andras Status new => resolved
2017-02-01 17:30 andras Fixed in Version => 5.1pre3
2017-02-01 17:30 andras Resolution open => no change required


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker