To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=71922
                 Issue #|71922
                 Summary|warning not error in crashrep main.cxx
               Component|porting
                 Version|OOo 2.2
                Platform|Sun
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|sparcmoz
             Reported by|sparcmoz





------- Additional comments from [EMAIL PROTECTED] Fri Nov 24 02:05:01 -0800 
2006 -------
@cmc: can you reproduce this? 

I am using gcc4.1.2preview on GNU/Linux SPARC. Set warnings are errors ( 
--enable-
crashdump=STATIC and --enable-werror) but this warning is not made into an 
error and the build 
does not stop:

ccache /usr/local/4.1/bin/g++ -m32 -z combreloc -Wl,-z,defs 
-Wl,-rpath,'$ORIGIN' -Wl,-export-
dynamic -Wl,--noinhibit-exec -L../../unxlngs.pro/lib -L../lib 
-L/home/jim/vanilla/solenv/unxlngs/lib 
-L/home/jim/vanilla/solver/680/unxlngs.pro/lib 
-L/home/jim/vanilla/solenv/unxlngs/lib -L/usr/
local/4.1/lib -L/usr/local/4.1/jnore/lib/sparc 
-L/usr/local/4.1/jnore/lib/sparc/client -L/usr/local/
4.1/jnore/lib/sparc/native_threads -L/usr/lib ../../unxlngs.pro/obj/main.o \
-Wl,-Bdynamic -lXext -lX11 -ldl -lnsl -ldl -lpthread -lm -Wl,-Bdynamic 
-lstlport_gcc -lstdc++ -o ../../
unxlngs.pro/bin/crash_report.bin
../../unxlngs.pro/obj/main.o: In function 
`write_description(_STL::hash_map<_STL::basic_string<char, 
_STL::char_traits<char>, _STL::allocator<char> >, _STL::basic_string<char, 
_STL::char_traits<char>, 
_STL::allocator<char> >, _STL::hash<_STL::basic_string<char, 
_STL::char_traits<char>, 
_STL::allocator<char> > >, _STL::equal_to<_STL::basic_string<char, 
_STL::char_traits<char>, 
_STL::allocator<char> > >, _STL::allocator<_STL::pair<_STL::basic_string<char, 
_STL::char_traits<char>, _STL::allocator<char> > const, 
_STL::basic_string<char, 
_STL::char_traits<char>, _STL::allocator<char> > > > > const&)':
main.cxx:(.text+0x1adc): warning: the use of `tmpnam' is dangerous, better use 
`mkstemp'
-rwxr-xr-x 1 jim jim 137319 2006-11-24 21:02 
../../unxlngs.pro/bin/crash_report.bin

There is a precedent for removing tmpnam in sal/osl/unx/signal.c -r 1.13.4.3 & 4

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to