Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Questions about potential patch for bug #72599

Hello all

 

I have a potential patch for a bug that prevents the error parser from functioning on my VC projects.
The bug has been in bugzilla for some time: https://bugs.eclipse.org/bugs/show_bug.cgi?id=72599

 

Some MS tools convert filename case in their output. This prevents VCErrorParser from finding the filename in the HashMap. For my purposes, it was sufficient to use toLowerCase() when adding filenames to fFileInProject HashMap in ErrorParserManager’s initErrorParserManager method and to also convert case before performing the lookup in VCErrorParser.

 

This appears to be a problem only on Windows platforms where filenames are case insensitive but case is preserved.
So I was wondering if this should be enabled as a default for Windows platforms or whether it should it be enabled/disabled as a Preference?

 

Also, since the entries in the fFileInProject HashMap would get lowercased (on Win platforms), this would also affect other error parsers and the case- conversion-before-lookup would be needed in them as well.

Am I missing any potential problems with this approach?

 

Regards,

Stan Mitchell

SourceQuest, Inc.

 

 

 

 


Back to the top