Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Indexer and ^Z (EOF)
Indexer and ^Z (EOF) [message #1087189] Thu, 15 August 2013 08:58
Kim Brouer is currently offline Kim BrouerFriend
Messages: 1
Registered: August 2013
Junior Member
The CDT indexers shipping with Juno and Kepler seem to dislike the ASCII character 26 (0x1A), that some Windows editors like to insert at the end of the file.

In those files, CDT doesn't find any references to static, file-scope variables.

The parser log says:
Scanner problems:
   Bad character sequence encountered:  in file: C:\...\xyz.c:444


If I modify the file and save it in Eclipse, it reparses and finds the references, even though the EOF character is still there and the parser log also still contains the message.

Modifying the file in an external editor, again leaving the EOF in place, makes the problem reappear.

The CDT in Indigo never exhibited any issues with those files.

Is this a known bug/feature, and is there a work around?
Previous Topic:Howto apply projects settings to new projects in a workspace
Next Topic:convert long string to multi-line string
Goto Forum:
  


Current Time: Tue Apr 23 13:27:00 GMT 2024

Powered by FUDForum. Page generated in 0.02390 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top