99.9% of all Windows Compile errors relating to linking is caused by missing files in the actual workspace. You might want to make sure that everything is that is in the Unix "Makefile.perl" is in the project. Because we have no active windows developers..the MSVC Project files get outdated very very fast.
__________________
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.
|