You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2005/09/20 03:50:28 UTC

[jira] Created: (STDCXX-37) [aCC 6.0] locale_body.cpp: remark #2815-D: type qualifier on return type is meaningless

[aCC 6.0] locale_body.cpp: remark #2815-D: type qualifier on return type is meaningless
---------------------------------------------------------------------------------------

         Key: STDCXX-37
         URL: http://issues.apache.org/jira/browse/STDCXX-37
     Project: STDCXX
        Type: Bug
  Components: Build  
    Versions: 4.1.2    
 Environment: aCC 6.0
    Reporter: Martin Sebor
    Priority: Trivial


When compiled with aCC 6.0 the file locale_body.cpp emits the following remark:

aCC -c  -D_RWSTDDEBUG   -mt -D_RWSTD_USE_CONFIG -I/build/sebor/aCC-6.0-15d/include -I/build/sebor/dev/stdlib/include  -AA  -g +d  +w +W392 +W655 +W684 +W818 +W819 +W849 +W2193 +W2236 +W2261 +W2340 +W2401 +W2487  +Z /build/sebor/dev/stdlib/src/locale_body.cpp 
"/build/sebor/dev/stdlib/include/rw/_mutex.h", line 619: remark #2815-D: type
          qualifier on return type is meaningless
  _TypeT __rw_atomic_preincrement (_TypeT &__t, bool)
         ^
          detected during instantiation of "__rw::__rw_atomic_preincrement"
                    based on template argument <volatile long> at line 800 of
                    "/build/sebor/dev/stdlib/src/locale_body.cpp"

"/build/sebor/dev/stdlib/include/rw/_mutex.h", line 575: remark #2815-D: type
          qualifier on return type is meaningless
  _TypeT __rw_atomic_preincrement (_TypeT &__t, __rw_mutex_base &__mutex)
         ^
          detected during:
            instantiation of "__rw::__rw_atomic_preincrement" based on
                      template argument <volatile long> at line 622
            instantiation of "_TypeT __rw::__rw_atomic_preincrement(_TypeT &,
                      bool) [with _TypeT=volatile long]" at line 800 of
                      "/build/sebor/dev/stdlib/src/locale_body.cpp"


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira