[aspectc-user] includes on command line

Fabian Scheler fabian.scheler at gmail.com
Thu Sep 8 08:41:42 CEST 2005


Hi,

this is not necessarily a bug of ac++. Without checking your problem
any further, have you checked the following things:

- do you have include-files with the same name in different
include-directories - they may shadow each other
- do you have include-files defining the same include-guards

The order of the different -I options have influence which
include-files from which include-path are preferred (as far as I can
figure it out, the last -I option seems to win), so changing the order
of them might explain the behaviour you describe.

Ciao, Fabian

2005/9/7, Marti Bayo-alemany <malemany at nero.com>:
>  
> Hi all, 
>   
> I have realised in Aspect C++ it is not possible to specify a big number of
> include directories. 
>   
> The following command ... 
> ac++  --no_line -p ..\source   -e cpp --skip-bodies-non-prj
> --no_problem_spec_scope --gnu-2.95 -d ..\source-ah -D_DEBUG -D_UNICODE
> -D__SYMBIAN32__ -D__GCC32__ -D__EPOC32__ -D__MARM__ -D__MARM_ARMI__
> -D__DLL__ - 
> -I"C:\MySource\MobileNeroDigital\GapiDraw35\include\symbian"
>   
> -I"..\include"
> -I"C:\Symbian\7.0s\Series60_v20\Epoc32\include\libc" 
> -I"C:\Symbian\7.0s\Series60_v20\Epoc32\include\" 
> -I"C:\MySource\MobileNeroDigital\neroplayer\nero_gui\Common"
>   
> Doesn't recognize the headers on 
>   
> -I"C:\MySource\MobileNeroDigital\neroplayer\nero_gui\Common"
>   
> However with that command... 
>  
> ac++  --no_line -p ..\source   -e cpp --skip-bodies-non-prj
> --no_problem_spec_scope --gnu-2.95 -d ..\source-ah -D_DEBUG -D_UNICODE
> -D__SYMBIAN32__ -D__GCC32__ -D__EPOC32__ -D__MARM__ -D__MARM_ARMI__
> -D__DLL__ - 
>  
> -I"C:\MySource\MobileNeroDigital\neroplayer\nero_gui\Common"
> -I"C:\MySource\MobileNeroDigital\GapiDraw35\include\symbian"
>   
> -I"..\include"
> -I"C:\Symbian\7.0s\Series60_v20\Epoc32\include\libc" 
> -I"C:\Symbian\7.0s\Series60_v20\Epoc32\include\" 
>   
> The headers on ... 
>   
> -I"C:\MySource\MobileNeroDigital\neroplayer\nero_gui\Common"
>   
> are found. 
>   
> any idea ? 
> Best wishes, 
> Marti 
> _______________________________________________
> aspectc-user mailing list
> aspectc-user at aspectc.org
> http://www.aspectc.org/mailman/listinfo/aspectc-user
> 
> 
>




More information about the aspectc-user mailing list