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

[Bug preprocessor/11931] unjustified warning for C89 code using HUGE_VAL

------- Comment #6 from jsm28 at gcc dot gnu dot org  2009-02-18 01:14 -------
For a long time glibc has used __builtin_huge_val in this definition which
avoids this problem.  fixincludes has fixed the definitions from old
glibc to avoid this problem since:

2005-09-15  Joseph S. Myers  <joseph@codesourcery.com>

        PR c++/23139
        * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
        * fixincl.x: Regenerate.
        * tests/base/bits/huge_val.h: New file.

So the issue described here is fixed and if it shows up elsewhere then the
testcase I added with that patch will show it.


jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.2


------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.

Reply to: