Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-184

[HP aCC 3.63] error on abs() compiling localedef.cpp

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1.3
    • 4.2.0
    • Utilities
    • None
    • HP aCC 3.63

    Description

      localedef.cpp fails to compile with HP aCC 3.64

      gmake: Entering directory `/build/sebor/aCC-3.63-8d/bin'
      aCC -c -I/amd/devco/sebor/dev/stdlib/include/ansi -I/usr/include -D_RWSTD_USE_CONFIG -I/build/sebor/aCC-3.63-8d/include -I/amd/devco/sebor/dev/stdlib/include -I/amd/devco/sebor/dev/stdlib/include/loc -Aa +nostl +O2 +w +W392 +W655 +W684 +W818 +W819 +W849 /amd/devco/sebor/dev/stdlib/src/util/localedef.cpp
      Error 174: "/amd/devco/sebor/dev/stdlib/include/ansi/cstdlib", line 200 #
      Function redefinition; previously defined as "int abs(int)" at
      ["/usr/include/../include/stdlib.h", line 40].
      inline int abs (int __x)
      ^^^
      Error 445: "/amd/devco/sebor/dev/stdlib/include/ansi/cstdlib", line 200 #
      Cannot recover from earlier errors.
      inline int abs (int __x)
      ^^^^^^^^^^^^^^
      gmake: *** [localedef.o] Error 2
      gmake: Leaving directory `/build/sebor/aCC-3.63-8d/bin'

      Attachments

        Issue Links

          Activity

            People

              sebor Martin Sebor
              sebor Martin Sebor
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: