E:\users\Fedor\1>cl /GX /MD zzz.cpp /Fetest_vc.exe
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
zzz.cpp
zzz.cpp(7) : error C2903: 'cell' : symbol is neither a class template nor a function template
zzz.cpp(27) : see reference to class template instantiation 'neighbors<org,x,y>' being compi
led
zzz.cpp(7) : error C2143: syntax error : missing ')' before '<'
zzz.cpp(27) : see reference to class template instantiation 'neighbors<org,x,y>' being compi
led
zzz.cpp(7) : error C2039: 'alive' : is not a member of '`global namespace''
zzz.cpp(27) : see reference to class template instantiation 'neighbors<org,x,y>' being compi
led
zzz.cpp(7) : error C2334: unexpected token(s) preceding ':'; skipping apparent function body
zzz.cpp(27) : see reference to class template instantiation 'neighbors<org,x,y>' being compi
led
zzz.cpp(37) : error C2143: syntax error : missing ')' before '=='
zzz.cpp(35) : see reference to class template instantiation 'evolved<org>::cell<`template-pa
rameter513',`template-parameter514'>' being compiled
zzz.cpp(40) : see reference to class template instantiation 'evolved<org>' being compiled
zzz.cpp(37) : error C2059: syntax error : ')'
zzz.cpp(35) : see reference to class template instantiation 'evolved<org>::cell<`template-pa
rameter513',`template-parameter514'>' being compiled
zzz.cpp(40) : see reference to class template instantiation 'evolved<org>' being compiled
zzz.cpp(38) : fatal error C1903: unable to recover from previous error(s); stopping compilation
E:\users\Fedor\1>bcc32 zzz.cpp -etest_bcc.exe
Borland C++ 5.6 for Win32 Copyright (c) 1993, 2002 Borland
zzz.cpp:
Assertion failed zzz.cpp(53) : ! isFormalParam(sym->symAddr.symPAddr) at c:\helena\bcc\indep\build.c
(384)
E:\users\Fedor\1>g++ zzz.cpp -o zzz.exe -s
E:\users\Fedor\1>g++ --version
g++.exe (GCC) 3.2.3 (mingw special 20030504-1)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
:))))))))))))))