Hi Geoff,

>> I am having some trouble with macro expansions
>> (EXPAND_AS_DEFINED is not working).  I have run doxygen -d
>> Preprocessor and indeed I see a number of
>
>> #include somefile.h: not found! skipping...
>
>> which I am sure is the culprit.
>
>> The confusing part is that somefile.h is part of INPUT.  The
>> docs for INCLUDE_PATH indicate that it is for files _not_
>> included in INPUT and as such I have left it empty.
>
>> Do I need to replicate INPUT in INCLUDE_PATH to get this to
>> work?  Seems wrong somehow.
>
>> For the record, I am running v 1.8.4.
>
> You don't need to replicate INPUT, but your INCLUDE_PATH should
> be set so that the doxygen preprocessor will find what it needs.
> Yes I know the doc says "files that are not input files", but
> this is still a C/C++ preprocessor so I'm not sure how it could
> be expected to work reliably without finding even input files
> according to the include path.

Indeed it does make sense and my experimentation since I posted has 
demonstrated the need for the INCLUDE_PATH.  I just kind of figured that 
since the entire source tree is scanned (and I assume in memory) before 
anything happens that it would be easy to find any "in project" header 
file without additional information.





> Note also this bug:
> https://bugzilla.gnome.org/show_bug.cgi?id=701771
> and its work around (don't use trailing slashes in INCLUDE_PATH
> paths).

Thanks.  I saw that one in my search but ignored it since I did not have 
an INCLUDE_PATH.  Those trailing delimiters are a constant bugaboo in 
Windows.  I don't know how many times I have been bitten by that.

Thanks for the pointers.

Best regards,

Tom





------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to