[aspectc-user] aspectc with VC 7.0

Danilo Beuche danilo.beuche at pure-systems.com
Mon Dec 15 16:48:28 CET 2003


Hi Laurent,

have a look into the archive:

http://www.aspectc.org/pipermail/aspectc-user/2003-July/000212.html was 
the question and
http://www.aspectc.org/pipermail/aspectc-user/2003-July/000213.html is
my answer.

Regards,
	Danilo	

Laurent.Uhres at ses-astra.com wrote:
> 
> Hi there
> 
> I have been trying to use ac++ with VC 7.0.  I keep on getting the 
> following error when compiling:
> 
> C:/Program Files/Microsoft Visual Studio .NET 
> 2003/Vc7/include/stdio.h:77: error: `signed' or `unsigned' invalid for 
> given type
> 
> My project contains the files:
> - main.cpp: instantiation of a test class CClass
> - class.h: simple class declaration CClass
> - class,cpp:  simple definition of ctor and dtor of CClass
> - test.ah: contains the following code
> 
> #include <iostream>
> 
> aspect ATest
> {
>         pointcut Logger() = execution("% CClass::%(...)")
>         advice Logger() : before() { cout << "before"; }
> };
> 
> My makefile looks like this:
> 
> INCLUDE="C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include"
> 
> main.exe: main.obj class.obj
>         link main.obj class.obj
>        
> main.obj: main.cxx
>         cl /c main.cxx
>        
> class.obj: class.cxx
>         cl /c class.cxx
>        
> main.cxx: main.cpp class.h test.ah
>         ac++ -c main.cpp -o main.cxx -p. -I$(INCLUDE) -D_WIN32 
> -D__cplusplus
>        
> class.cxx: class.cpp class.h test.ah
>         ac++ -c class.cpp -o class.cxx -p. -I$(INCLUDE) -D_WIN32 
> -D__cplusplus
> 
> 
> Any ideas of what I am doing wrong? I guess I am missing a preprocessor 
> macro...
> 
> 
> Laurent UHRES
> Systems Analyst
> 
> SES Multimedia
> L-6815 Chateau de Betzdorf
> 
> Tel:  + 352 710 725 799
> Fax: + 352 710 725 482
> http://www.ses-global.com

-- 
Danilo Beuche                           Phone: +49-391-54456910
pure-systems GmbH                       Fax:   +49-391-54456990




More information about the aspectc-user mailing list