Community
Participate
Working Groups
When creating a Standard Make C++ project, the automated discovery of include paths doesn't seem to work when running in a japanese locale. When I create the project in English it has an "Includes" section, but it doesn't when I create the same project in Japanese. This is using the same workspace, so the settings should be identical. This is the TVT tester's report on this problem: OS : RHEL 3.0 Build date:0714 Language: JPN Problem Description: 1. Create a SB project 2. Select the SB project in the C/C++ Projects view. 3. Right click and select Properties. 4. Click "C/C++ Include Path and Symbols in the left panel. In the "Include path and Preprocessor Symbols" field, there is no "shown path" displayed. It seems that it couldn't find anything for "Includes" and "Preprocessor Sybmols". This function worked for English, but not for Japanese. Please investigate.
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