[ ant-contrib-Bugs-1718198 ] CC, xlC file bids are case-insensitive

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.java.ant-contrib.devel
Message-ID <[email protected]>
Bugs item #1718198, was opened at 2007-05-13 16:26
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=416920&aid=1718198&group_id=36177

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: cpptasks
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: David Haney (darius42)
Assigned to: Curt Arnold (carnold)
Summary: CC, xlC file bids are case-insensitive

Initial Comment:
This issue was originally raised in Bug 1715475: 

Based on some experiments, it looks like the extension comparison is case-insensitive (for all platforms), however at least some of the compilers I tested were case-sensitive in their handling of extensions (for example, the Forte compiler will accept a .cpp extension, but will reject a .CPP extension).  Should CC-tasks file matching be case-sensitive or case-insensitive?  Or should it be determined by the compiler (Windows compilers will probably be case-insensitive, while some Unix compilers will be case-sensitive).

Initial response from carnold:

Looks like a debatable decision down in compiler/AbstractProcessor.  Definitely needs to be case-insensitive for the Windows compilers and gcc-like compilers on Windows.  Is there a scenario you have where there is, for example, a compiler that handles ".C" and a different compiler that handles ".c" and the current behavior depends on the order of the bids?  If there was a file that really wanted ".C" files, it could double its bid which would give it prescendence over a compiler that was just matching ".c".  I'd be reluctant to change it until I knew of a harm.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=416920&aid=1718198&group_id=36177

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.