Hi,
I'm trying to compile a PHP extension that uses C+ on windows, and I keep
getting this error message:
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ostream(373) : error
C2491: 'endl' : definition of dllimport function not allowed
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ostream(379) : error
C2491: 'endl' : definition of dllimport function not allowed
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ostream(389) : error
C2491: 'ends' : definition of dllimport function not allowed
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ostream(394) : error
C2491: 'ends' : definition of dllimport function not allowed
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ostream(403) : error
C2491: 'flush' : definition of dllimport function not allowed
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ostream(408) : error
C2491: 'flush' : definition of dllimport function not allowed
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\istream(541) : error
C2491: 'ws' : definition of dllimport function not allowed
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\istream(561) : error
C2491: 'ws' : definition of dllimport function not allowed
Has anyone seen this before, or know how to fix it?
thanks
dave
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php