Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Compiling IML file problem
Re: Compiling IML file problem [message #4999 is a reply to message #4998] Wed, 30 August 2006 09:51 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14255
Registered: November 2005
Ultimate Member
andywang wrote on Tue, 29 August 2006 23:44

I found :
http://averia.unm.edu/VisualCPPErrorMessages.html

Quote:

C2001: newline in constant

This error is usually caused by a string or character constant that is missing its closing ' or " symbol.


and That is because maybe in our multi-bytes system and mixed text, every byte larger than 127 may be treated as mutli-bytes(always 2-bytes) character(if it is the odd-th char in the line and the char right before it >127), so 0xC0C0C022 be treated as 0xC0C0 and 0xC022, so 0x22 (which is " ) is "lost" then VC compiler complains.

After I try add 368,370,372 a SPACE before "), these 3 lines pass. So one solution will be add an extra SPACE on each such line. Since I am brand-new to UPP, I am not sure if that is the right way.

Andy


Hi,

yes, I have noticed this issue when working on CJK support yesterday.

Right now, I am not sure how to resolve it: Those strings are supposed to be simply accepted in "byte" form, no stupid conversions being performed.

There is #pragma setlocale("C"), which should be active (it is defs.h), but for some reason MSC seems to ignore it.

The only possible solution right now is to switch your language to something else than chinesse (e.g. with english, you should not encounter this problem).

Also, mingw works too. Errors you are reporting are unrelated to this issue. (mixing \ and / is OK). I guess your build method is not set right (I recommend downloading U++/mingw version, it contains much faster linker anyway).

Mirek
 
Read Message BugFixedDead.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Does any one compile successfully on cygwin?
Next Topic: demo package name "y1" can't compile?
Goto Forum:
  


Current Time: Sun Apr 27 23:45:30 CEST 2025

Total time taken to generate the page: 0.01073 seconds