PHP extension with C++
| From: | Dave Viner | Date: | Thu, 20 Feb 2003 17:09:46 +0000 |
| Subject: | PHP extension with C++ | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-13508@lists.php.net to get a copy of this message | ||
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