[prev in list] [next in list] [prev in thread] [next in thread] 

List:       doxygen-users
Subject:    Re: [Doxygen-users] EXPAND_AS_DEFINED Problem: Preprocessor Search Path??
From:       Tom Udale <tom () ionoptix ! com>
Date:       2013-07-19 16:42:39
Message-ID: 51E96C7F.7050904 () ionoptix ! com
[Download RAW message or body]

Dear Dimitri,



> Hi Tom,
>
> On Jul 16, 2013, at 15:12 , Tom Udale <tom@ionoptix.com> wrote:
>> 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.
>
> That should have been the case.
> Can you file a bug report (http://bugzilla.gnome.org/enter_bug.cgi?product=doxygen)
> and attach a self-contained example showing the problem?


Sorry for the delay in replying, work got in the way.

I created Bug 704572.  It has a zip file with a stripped down set of 
files that shows the problem.

I am running on Windows 7 64 bit if that matters.

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic