Community
Participate
Working Groups
Build Identifier: M20110909-1335 When importing a project that was created with a previous version of CDT, the language mappings set are being ignored. Apparantly the problem is related to where the mappings are being stored in the cproject file. In Helios the language mappings were stored within a 'cconfiguration' element. In Indigo the language mappings are stored on global scope, outside a 'cconfiguration' element. Reproducible: Always Steps to Reproduce: 1. Create a cygwin project with Helios. 2. Add a language mapping: Properties > C/C++ General > Language Mappings > Add: (All) - C Csource File - GNU C 3. Import the project with Indigo: File > Import > Existing Projects into Workspace 4. Take a look at the language mapings: Properties > C/C++ General > Language Mappings. No language mappings are displayed/discovered.
Fixed backwards compatibility in cdt_8_0 and master.
*** cdt git genie on behalf of Anton Leherbauer *** Bug 367061 - Language mappings as created in a Helios project are ignored when imported in Indigo (backward compatibility issue) [*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=b68056468484ca6a88d1d6a0969f0a2907004746
*** cdt git genie on behalf of Anton Leherbauer *** Bug 367061 - Language mappings as created in a Helios project are ignored when imported in Indigo (backward compatibility issue) [*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=79f305532d496f0e69b557bd177d2716aabd73be