Any tips for compiling templates on visual studio .net 2003? I have code that seems to compile fine on other compilers but am getting an LNK2019 on visual studio .net 2003. I am using template specialization (Dave S. helped me with this a few weeks ago). Before I post any code, just wondering if anyone was aware of any 'Gotchas' with this compiler in this particular area.

Recommended Answers

All 3 Replies

Don't know, but found this.

Linker Tools Error LNK2019
This error can also be generated as a result of conformance work that was done for Visual Studio .NET 2003: template friends and specialization. In Visual Studio .NET 2003, a friend declaration that declares a new non-template function must be defined.

Um, code, please?

There are a lot of classes involved, so I'm going to have to do some work to get it to the main issue... stay tuned.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.