Summary: | TVT3.0: In japanese locale, automated discovery of include paths doesn't seem to work | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Tools] CDT | Reporter: | Jonathan Simpson <jjsimpso> | ||||||
Component: | cdt-build | Assignee: | Victor Lenet <victor.lenet> | ||||||
Status: | CLOSED FIXED | QA Contact: | |||||||
Severity: | critical | ||||||||
Priority: | P1 | CC: | steven.wasleski, twolff, victor.lenet | ||||||
Version: | 2.0 | ||||||||
Target Milestone: | 2.0.1 | ||||||||
Hardware: | PC | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Jonathan Simpson
2004-07-16 15:59:59 EDT
Created attachment 13385 [details]
screen capture
The French TVT tester is having the same problem. to be assigned to Vlad. Please make sure that Preferences -> Workbench -> Build automatically is unchecked. Then, when creating a new Standard Make project there should not be Includes item in C/C++ Projects view. It will appear only after the project has been built for the first time. This behaviour has been verified on SLES 9, for both English and Japanese locales. Following your instructions above, I still don't have an includes directory. Nor do I see any include paths under the Project Preferences page for automated discovery. Does this mean that the automated discovery function is failing? This is on RedHat Enterprised Linux 3.0, by the way. Can you please verify if after a successful build of the project there are any include paths in Project -> Properties -> C/C++ Include Paths & Symbols property page, ->E <project name> ->E Discovered Paths ->E Includes. (->E meens expand item) Yep, thats what I'm saying. There is nothing to expand under Discovered Paths. Please try to rebuild the project from C/C++ Projects view -> Properties -> Rebuild Project. I don't see a way to rebuild from Project View->Properties, but I did rebuild it by right-clicking on the project and selecting Rebuild Project. Unforunately I don't see any changes. Can you please provide screen shots of Console view and Problems view after the rebuild. Problems view is empty(no messages) console view just shows make's output: make -k all g++ -c -g -o main.o main.cpp g++ -c -g -o SB.o SB.cpp g++ -o SB.exe main.o SB.o I'm also attaching a zip of an empty project created in a japanese locale with build automatically turned on. The .project and .cdtproject files are identical to those created in an english locale. Created attachment 13518 [details]
jpn created project
We need some resolution on this other than WORKSFORME. Several TVT testers have experienced this problem and I'm unable to make it work in the problematic locales. I can provide vnc access to one of our machines if you are not able to reproduce this problem. Thanks. That is a good idea. I would like to try it. What are the problematic locales? I will send you an email with the vnc and password info. The problematic locales are Japan, France, Italy. I have vreified that problem exists in French locale but not in the Italian. The reason is the GNU compiler's inconsistent locale support. There is an easy fix for the problem and it will be submitted soon. Problem has been fixed by setting LANG variable to en_US.UTF-8 before running generate scanner info command. This will make gcc/g++ generate output in English, preserving any locale UTF-8 characters in include paths. For the record, I tested original problem and it existed in French and Spanish locales, but not in Italian, German and Japanese locales. As said previously it is due to GNU's inconsistent internationalization support. Did this make today's build? Yes it is in build CDT 2.0.1 I200407291223. closing |