Hello Kevin,

Microsoft compiler does not support GCC __attribute__ keyword.
Makefile.mingw32 tunes SaHpi.h when you invoke "make out" for Windows  
build.

        Anton Pak

On Tue, 24 Jan 2012 13:41:37 +0300, kevin barnard <[email protected]>  
wrote:

> Hi !
>
> The new __attribute__ lines in sahpi.h stop my compilations unde visual
> studio :
>
> Error    1    error C2146: syntax error : missing ';' before identifier
> '__attribute__'    d:\openhpi\include\sahpi.h    88
> Error    2    error C3861: '__aligned__': identifier not found
> d:\openhpi\include\sahpi.h    88
>
> The earlier version without them works fine
>
> regards
> kevin

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

Reply via email to