incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Created: (STDCXX-349) [gcc 4.1.1] warnings compiling iostore.cpp
Date Thu, 08 Mar 2007 01:41:24 GMT
[gcc 4.1.1] warnings compiling iostore.cpp
------------------------------------------

                 Key: STDCXX-349
                 URL: https://issues.apache.org/jira/browse/STDCXX-349
             Project: C++ Standard Library
          Issue Type: Bug
          Components: Build
    Affects Versions: 4.1.3, 4.1.4
         Environment: gcc 4.1.1/Solaris 10
            Reporter: Martin Sebor
            Priority: Minor


gcc -c -I/amd/devco/sebor/stdcxx/include/ansi   -pthreads -I/amd/devco/sebor/stdcxx/include
-I/build/sebor/gcc-4.1.1-12d/include  -pedantic -nostdinc++ -O2  -W -Wall -Wcast-qual -Winline
-Wshadow -Wwrite-strings -Wno-long-long  -fPIC  /amd/devco/sebor/stdcxx/src/iostore.cpp
/amd/devco/sebor/stdcxx/include/rw/_rawiter.h: In function 'void std::return_temporary_buffer(_TypeT*)
[with _TypeT = std::ios_base::_C_usr_data::_C_event_cb]':
/amd/devco/sebor/stdcxx/src/iostore.cpp:144:   instantiated from here
/amd/devco/sebor/stdcxx/include/rw/_rawiter.h:157: warning: dereferencing type-punned pointer
will break strict-aliasing rules
/amd/devco/sebor/stdcxx/include/rw/_rawiter.h: In function 'std::pair<_TypeT*, _Distance>
std::get_temporary_buffer(_Distance, _TypeT*) [with _TypeT = std::ios_base::_C_usr_data::_C_event_cb,
_Distance = int]':
/amd/devco/sebor/stdcxx/include/rw/_rawiter.h:146:   instantiated from 'std::pair<_TypeT*,
int> std::get_temporary_buffer(int) [with _TypeT = std::ios_base::_C_usr_data::_C_event_cb]'
/amd/devco/sebor/stdcxx/src/iostore.cpp:113:   instantiated from here
/amd/devco/sebor/stdcxx/include/rw/_rawiter.h:131: warning: dereferencing type-punned pointer
will break strict-aliasing rules
/amd/devco/sebor/stdcxx/src/iostore.cpp: In member function 'void std::ios_base::_C_copyfmt(const
std::ios_base&, void*, const void*, unsigned int)':
/amd/devco/sebor/stdcxx/src/iostore.cpp:182: warning: 'a_size$0' may be used uninitialized
in this function
/amd/devco/sebor/stdcxx/src/iostore.cpp:182: warning: 'a_size$1' may be used uninitialized
in this function
/amd/devco/sebor/stdcxx/src/iostore.cpp:182: warning: 'a_size$2' may be used uninitialized
in this function


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message