Print Page | Close Window

Compile error when using toolkit 10.4

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Syntax Edit
Forum Description: Topics Related to Codejock Syntax Edit
URL: http://forum.codejock.com/forum_posts.asp?TID=5901
Printed Date: 21 November 2024 at 11:37am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Compile error when using toolkit 10.4
Posted By: mgampi
Subject: Compile error when using toolkit 10.4
Date 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
 



Replies:
Posted By: sserge
Date 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 - http://forum.codejock.com/forum_posts.asp?TID=5861&PID=18578#18578

--
WBR,
Serge



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net