Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Indexer and ^Z (EOF)
Indexer and ^Z (EOF) [message #1087189] Thu, 15 August 2013 04:58
Eclipse UserFriend
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: Mon May 19 16:47:46 EDT 2025

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

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

Back to the top