Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Syntax Edit
  New Posts New Posts RSS Feed - Compile error when using toolkit 10.4
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Compile error when using toolkit 10.4

 Post Reply Post Reply
Author
Message
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Topic: Compile error when using toolkit 10.4
    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
 
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 24 December 2006 at 4:17pm
Take a look at the answer for the same problem: http://forum.codejock.com/forum_posts.asp?TID=5861&PID=18578#18578

--
WBR,
Serge
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.