[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: 5.1 and vc6
- From: David Burgess <dburgess@...>
- Date: Sat, 5 Mar 2005 20:14:48 +1000
When compiling with C++
E:\vc6\VC98\INCLUDE\math.h(514) : error C2894: templates cannot be declared to h
ave 'C' linkage
The templates in math.h cannot be wrapped with extern C
This problem can be avoided by including math.h before the lua includes.
However it begs the question of whether the math.h include in
luaconf.h is good thing.
DB