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

[HP aCC 6] remark #4244: extern storage class used with a function definition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 4.2.1
    • 4.2.2
    • Build and Installation
    • None
    • aCC: HP C/aC++ B3910B A.06.16 [Nov 26 2007]

    • Compiler Warning

    Description

      When compiling with HP aCC 6, the library builds with the following three warnings:

      aCC -c     -I$(TOPDIR)/include -I$(BUILDDIR)/include  -AA  +O2   +w +W392,655,684,818,819,849 +W2193,2236,2261,2340,2401,2487 +W4227,4229,4231,4235,4237,4249 +W4255,4272,4284,4285,4286,4296,4297 +W3348  +Z  $(TOPDIR)/src/ti_num_get.cpp
      "$(TOPDIR)/src/ti_num_get.cpp", line 51: remark #4244-D: extern storage class used with a function definition
        _RWSTD_DEFINE_FACET_FACTORY (extern _RWSTD_EXPORT, num_get, TARGS_C, num_get);
        ^
      
      aCC -c     -I$(TOPDIR)/include -I$(BUILDDIR)/include  -AA  +O2   +w +W392,655,684,818,819,849 +W2193,2236,2261,2340,2401,2487 +W4227,4229,4231,4235,4237,4249 +W4255,4272,4284,4285,4286,4296,4297 +W3348  +Z  $(TOPDIR)/src/ti_num_put.cpp
      "$(TOPDIR)/src/ti_num_put.cpp", line 49: remark #4244-D: extern storage class used with a function definition
        _RWSTD_DEFINE_FACET_FACTORY (extern _RWSTD_EXPORT, num_put, TARGS_C, num_put);
        ^
      
      aCC -c     -I$(TOPDIR)/include -I$(BUILDDIR)/include  -AA  +O2   +w +W392,655,684,818,819,849 +W2193,2236,2261,2340,2401,2487 +W4227,4229,4231,4235,4237,4249 +W4255,4272,4284,4285,4286,4296,4297 +W3348  +Z  $(TOPDIR)/src/ti_numpunct.cpp
      "$(TOPDIR)/src/ti_numpunct.cpp", line 49: remark #4244-D: extern storage class used with a function definition
        _RWSTD_DEFINE_FACET_FACTORY (extern _RWSTD_EXPORT, numpunct, <char>, numpunct);
        ^
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h
                2h