this is driving me crazy
in devc++ i'm NOT creating a project. I'm compiling w/ -ansi -pedantic -Wall -Wextra -Werror
if i have a class in a header file like so:
and define the constructor in a source file like so:Code:template <typename T> class myClass { public: myClass(); ... };
it works just fine.Code:template <typname T> myClass<T>::myClass<T>() { ... };
But when I compile the same stuff in cygwin w/the same options, it tells me I have undefined references to my constructors.
WTF???