compilation error - [templates cannot be declared to have 'C' linkage]
59 views
Skip to first unread message
tokyof...@gmail.com
unread,
Jul 31, 2017, 6:01:40 PM7/31/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fix8 developer
Hi folks, I've inherited a FIX8 C++ application and trying to compile the source code. I'm getting the following:-
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\initializer_list(15): error C2894: templates cannot be declared to have 'C' linkage (compiling source file C:\Work\fix8_generated\f8_classes.cpp)
So it's coming from one of the Fix8 compiler generated files. I'm guessing it's some compiler config. I just wanted to check if you can tell me it's something really obvious before I spend too long on it.