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

[HP aCC 3.76] many remarks #4296-D: arithmetic operation on boolean type from <limits>

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.3
    • Fix Version/s: 4.2.0
    • Component/s: 18. Language Support
    • Labels:
      None
    • Environment:

      HP aCC 3.76 (beta)

      Description

      $ cat t.cpp && gmake t
      #include <limits>

      int main ()
      {
      }
      aCC -c -I/amd/devco/sebor/stdcxx/include/ansi -I/usr/include -mt -I/amd/devco/sebor/stdcxx/include -I/build/sebor/aCC-3.76.b6-12D/include -I/amd/devco/sebor/stdcxx/../rwtest/include -I/amd/devco/sebor/stdcxx/tests/include -Aa +nostl +O2 +DD64 +w +W392 +W655 +W684 +W818 +W819 +W849 t.cpp
      "/amd/devco/sebor/stdcxx/include/rw/_config.h", line 450: remark #2193-D: zero
      used for undefined preprocessing identifier
      #if _MSC_VER <= 1300
      ^

      "/amd/devco/sebor/stdcxx/include/rw/_defs.h", line 1584: remark #2193-D: zero
      used for undefined preprocessing identifier
      #elif 2 < _GNUG_
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 516: remark #4296-D: arithmetic
      operation on boolean type
      _RWSTD_SPECIALIZE_LIMITS (char, _RWSTD_CHAR)
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 516: remark #4296-D: arithmetic
      operation on boolean type
      _RWSTD_SPECIALIZE_LIMITS (char, _RWSTD_CHAR)
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 517: remark #4296-D: arithmetic
      operation on boolean type
      _RWSTD_SPECIALIZE_LIMITS (unsigned char, _RWSTD_UCHAR)
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 517: remark #4296-D: arithmetic
      operation on boolean type
      _RWSTD_SPECIALIZE_LIMITS (unsigned char, _RWSTD_UCHAR)
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 518: remark #4296-D: arithmetic
      operation on boolean type
      _RWSTD_SPECIALIZE_LIMITS (signed char, _RWSTD_SCHAR)
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 518: remark #4296-D: arithmetic
      operation on boolean type
      _RWSTD_SPECIALIZE_LIMITS (signed char, _RWSTD_SCHAR)
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 519: remark #4296-D: arithmetic
      operation on boolean type
      _RWSTD_SPECIALIZE_LIMITS (short int, _RWSTD_SHRT)
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 519: remark #4296-D: arithmetic
      operation on boolean type
      _RWSTD_SPECIALIZE_LIMITS (short int, _RWSTD_SHRT)
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 520: remark #4296-D: arithmetic
      operation on boolean type
      _RWSTD_SPECIALIZE_LIMITS (unsigned short, _RWSTD_USHRT)
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 520: remark #4296-D: arithmetic
      operation on boolean type
      _RWSTD_SPECIALIZE_LIMITS (unsigned short, _RWSTD_USHRT)
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 521: remark #4296-D: arithmetic
      operation on boolean type
      _RWSTD_SPECIALIZE_LIMITS (int, _RWSTD_INT)
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 521: remark #4296-D: arithmetic
      operation on boolean type
      _RWSTD_SPECIALIZE_LIMITS (int, _RWSTD_INT)
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 522: remark #4296-D: arithmetic
      operation on boolean type
      _RWSTD_SPECIALIZE_LIMITS (unsigned int, _RWSTD_UINT)
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 522: remark #4296-D: arithmetic
      operation on boolean type
      _RWSTD_SPECIALIZE_LIMITS (unsigned int, _RWSTD_UINT)
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 523: remark #4296-D: arithmetic
      operation on boolean type
      _RWSTD_SPECIALIZE_LIMITS (long int, _RWSTD_LONG)
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 523: remark #4296-D: arithmetic
      operation on boolean type
      _RWSTD_SPECIALIZE_LIMITS (long int, _RWSTD_LONG)
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 524: remark #4296-D: arithmetic
      operation on boolean type
      _RWSTD_SPECIALIZE_LIMITS (unsigned long int, _RWSTD_ULONG)
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 524: remark #4296-D: arithmetic
      operation on boolean type
      _RWSTD_SPECIALIZE_LIMITS (unsigned long int, _RWSTD_ULONG)
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 530: remark #4296-D: arithmetic
      operation on boolean type
      _RWSTD_SPECIALIZE_LIMITS (wchar_t, _RWSTD_WCHAR_T)
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 530: remark #4296-D: arithmetic
      operation on boolean type
      _RWSTD_SPECIALIZE_LIMITS (wchar_t, _RWSTD_WCHAR_T)
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 539: remark #4296-D: arithmetic
      operation on boolean type
      _RWSTD_SPECIALIZE_LIMITS (bool, _RWSTD_BOOL)
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 539: remark #4296-D: arithmetic
      operation on boolean type
      _RWSTD_SPECIALIZE_LIMITS (bool, _RWSTD_BOOL)
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 547: remark #4296-D: arithmetic
      operation on boolean type
      _RWSTD_SPECIALIZE_LIMITS (_RWSTD_LONG_LONG, _RWSTD_LLONG)
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 547: remark #4296-D: arithmetic
      operation on boolean type
      _RWSTD_SPECIALIZE_LIMITS (_RWSTD_LONG_LONG, _RWSTD_LLONG)
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 548: remark #4296-D: arithmetic
      operation on boolean type
      _RWSTD_SPECIALIZE_LIMITS (unsigned _RWSTD_LONG_LONG, _RWSTD_ULLONG)
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 548: remark #4296-D: arithmetic
      operation on boolean type
      _RWSTD_SPECIALIZE_LIMITS (unsigned _RWSTD_LONG_LONG, _RWSTD_ULLONG)
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 560: remark #2261-D: access
      control not specified ("public" by default)
      struct numeric_limits<const _TypeT>: numeric_limits<_TypeT> { };
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 563: remark #2261-D: access
      control not specified ("public" by default)
      struct numeric_limits<volatile _TypeT>: numeric_limits<_TypeT> { };
      ^

      "/amd/devco/sebor/stdcxx/include/limits", line 566: remark #2261-D: access
      control not specified ("public" by default)
      struct numeric_limits<const volatile _TypeT>: numeric_limits<_TypeT> { };
      ^

      aCC t.o -o t -L/build/sebor/aCC-3.76.b6-12D/rwtest -lrwtest12D -Aa +nostl -Wl,+s -Wl,+vnocompatwarnings -mt +DD64 -L/build/sebor/aCC-3.76.b6-12D/lib -Wl,+b/build/sebor/aCC-3.76.b6-12D/lib:/build/sebor/aCC-3.76.b6-12D/rwtest -lstd12D -lm

        Attachments

          Activity

            People

            • Assignee:
              sebor Martin Sebor
              Reporter:
              sebor Martin Sebor
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: