bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BUG: Gperf 3.0.1


From: alexander.me
Subject: BUG: Gperf 3.0.1
Date: Fri, 13 Jan 2006 09:13:38 +0300

Hi ...

Sorry for my poor english %-)

I found bug in gperf 3.0.1.


1. Bug in generation of debug "#line ..." lines. In Windows: 
For example, we have file "\projects\some_project\some_hash.gperf".

In *nix ... gperf generate output file with lines:

#line N "/projects/some_project/some_hash.gperf"

This is OK - "/projects/some_project/some_hash.gperf" - is a true C/C++ string 
constant.

But in Windows it will generate:

#line N "\projects\some_project\some_hash.gperf"

This is BUG - "\projects\some_project\some_hash.gperf" - is "wrong" C/C++ 
string constant (unknown ESC chars in filename).

It MUST be "\\projects\\some_project\\some_hash.gperf" - with double slash "\\".


I think it can be only in Windows, because in *nix all filenames delimiter is 
"/" but not a "\".

2. There is no option to disable "#line" lines genegation.


It's very simple bug. Can you path it?

Thanks for greate tool.

Alexander.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]