Bug #232
-I compiler option is not honoured by file options in package manager
Status: | Approved | Start date: | 01/13/2012 | |
---|---|---|---|---|
Priority: | Immediate | Due date: | ||
Assignee: | Massimo Del Fedele | % Done: | 100% | |
Category: | IDE | Spent time: | - | |
Target version: | - |
Description
Simply insert a FILE options like this in package manager :
-ISOMETHING
Enable verbose mode and compile the file; the option don't appears in compiler command line.
Max
History
#1 Updated by Massimo Del Fedele over 12 years ago
For GCC, in GCCBuilder.cpp, line 197, from
exec << GetHostPathQ(fn) << " -o " << GetHostPathQ(objfile);
to
exec << GetHostPathQ(fn) << " " << soptions[i] << " -o " << GetHostPathQ(objfile);
For MSC the problem is different, the options are there but a space is missing; so, line 317, from
+ soptions[i] + (ext ".c" ? " -Tc " : " -Tp ")
to
+ " " + soptions[i] + (ext ".c" ? " -Tc " : " -Tp ")
Max
#2 Updated by Miroslav Fidler over 12 years ago
- Status changed from New to Ready for QA
- Assignee changed from Miroslav Fidler to Massimo Del Fedele
Please check I have applied patches correctly. And thanks...
#3 Updated by Massimo Del Fedele over 12 years ago
- Status changed from Ready for QA to Approved
- % Done changed from 0 to 100