Bug 92968 - MBS: validate file/directory names option required
Summary: MBS: validate file/directory names option required
Status: ASSIGNED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build-managed (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-27 14:17 EDT by PalmSource Eclipse Bug Tracker CLA
Modified: 2020-09-04 15:24 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PalmSource Eclipse Bug Tracker CLA 2005-04-27 14:17:41 EDT
Some gcc options are picky about their input.  Specifically the -include flag to
preinclude header files is picky on Windows.  If one specifies a Windows
directory specification without quotes (e.g. -includeC:\temp\foobar.h) the
command will fail.  The command will work if it is quoted (e.g.
-include"C:\temp\foobar.h") or in Unix style directory specification (e.g.
-includeC:/temp/foobar.h).  

I'd like to see an option in the appropriate MBS options to validate
file/directory specifications a bit more.  Possible suggestions:

- a "Quoted" Y/N option to force the user to use quotes or it won't be accepted,
or automatically add quotes if not present
- a "Independent Path Format" Y/N option that converts the path from the
platform-specific entry into a platform independent forward slash equivalent
automatically (or requires the user to do so).
Comment 1 Chris Recoskie CLA 2009-05-11 13:41:49 EDT
A generic way of contributing validators for options is really what we need here.