View Single Post
  #6  
Old 11-02-2004, 03:56 AM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Quote:
Originally Posted by Elkay
Kind of odd thing happened here.. I downloaded from CVS about 30 minutes ago, it failed the same as it had been. Re-downloaded from scratch again about 10 minutes ago and it just successfully compiled. I think SF is WAY lagging right now. Give it another shot.
Code:
--------------------Configuration: Zone - Win32 Release--------------------
Compiling...
Command line warning D4002 : ignoring unknown option '/Ob2'
command.cpp
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\math.h(514) : error C2894: templates cannot be declared to have 'C' linkage
net.cpp
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\math.h(514) : error C2894: templates cannot be declared to have 'C' linkage
Error executing cl.exe.

Zone.exe - 2 error(s), 1 warning(s)
Still not working.
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
Reply With Quote