acpica/generate/msvc9/readme.txt
Robert Moore 94d7576d54 New: readme file with notes on generating ACPICA under VC 9.
A couple notes on how to eliminate build warnings.
2010-12-20 13:15:14 -08:00

29 lines
702 B
Plaintext

/*
* Generation of ACPICA with MS Visual Studio 2008
*/
ACPICA generates with all language extensions disabled, since the code
is meant to be highly portable.
There are a couple of include files in MS Visual Studio 2008 that
contain // comments. These will be flagged as warnings. To eliminate
these warnings, modify these include files:
1) \Program Files\Microsoft Visual Studio 9.0\VC\include\sal.h
Add this to the start of the file:
#pragma warning( disable : 4001 ) /* no warning about "//" comments */
Add this to the end of the file:
#pragma warning( default : 4001 )
2) \Program Files\Microsoft Visual Studio 9.0\VC\include\stdlib.h
Line 773: Change // comment to a /* */ comment