Compile error when using toolkit 10.4 |
Post Reply |
Author | |
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
Posted: 23 December 2006 at 4:27pm |
Hi;
In one of our projects we need the toolkit only in one source file. So we decided to include the toolkit only in the source file of interrest.
When compiling this library we encounter a compile error:
c:\Programme\Codejock Software\MFC\Xtreme ToolkitPro v10.4\Source\SyntaxEdit\XTPSyntaxEditLexParser.h(967) : error C2589: '(': Invalid token on right side of '::' c:\Programme\Codejock Software\MFC\Xtreme ToolkitPro v10.4\Source\SyntaxEdit\XTPSyntaxEditLexParser.h(967) : error C2059: Syntax error: '::' c:\Programme\Codejock Software\MFC\Xtreme ToolkitPro v10.4\Source\SyntaxEdit\XTPSyntaxEditLexParser.h(967) : error C2589: '(': Invalid token on right side of '::' After including the toolkit in stdafx.h of the project, the library compiles without any errors. Does this mean that I have to change all projects to always include the toolkit in stdafx.h or does anyone know what to do, to only selectively include the toolkit where necessary.Martin
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Take a look at the answer for the same problem: http://forum.codejock.com/forum_posts.asp?TID=5861&PID=18578#18578
-- WBR, Serge |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |