public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/35233]  New: Unexpected error messages about invalid pointer conversions at end of array initialisation
@ 2008-02-17 13:47 Markus dot Elfring at web dot de
  2008-02-17 13:56 ` [Bug c++/35233] " Markus dot Elfring at web dot de
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Markus dot Elfring at web dot de @ 2008-02-17 13:47 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1685 bytes --]

I compiled the current software
"http://sipp.svn.sourceforge.net/viewvc/sipp/sipp/trunk/sipp.cpp?revision=424&view=markup"
on my openSUSE 10.3 system. I would like to get rid of warnings like "Warnung:
veraltete Konvertierung von Zeichenkettenkonstante in »char*«" (deprecated
conversion of string constant). I tried also to fix some other details for
const-correctness in the source code.
Now I get the following error messages about invalid conversions for pointers
at the end of the initialisation for the array "options_table".

g++ -D__LINUX -pthread -DSVN_VERSION="\"svn424M\"" -save-temps -I.
-I/usr/include/openssl -c -o sipp.o sipp.cpp
sipp.cpp:301: Fehler: ungültige Umwandlung von »const void*« in »void*«
sipp.cpp:301: Fehler: ungültige Umwandlung von »const void*« in »void*«
make[1]: *** [sipp.o] Fehler 1
make[1]: Leaving directory `/home/elfring/Projekte/SIPp/1680134/trunk'

I did not change the field values and data type for this global variable
"options_table". I would normally expect that my updates in other source file
parts will not affect this specific area.


-- 
           Summary: Unexpected error messages about invalid pointer
                    conversions at end of array initialisation
           Product: gcc
           Version: 4.2.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Markus dot Elfring at web dot de
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35233


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-02-17 17:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-17 13:47 [Bug c++/35233] New: Unexpected error messages about invalid pointer conversions at end of array initialisation Markus dot Elfring at web dot de
2008-02-17 13:56 ` [Bug c++/35233] " Markus dot Elfring at web dot de
2008-02-17 14:03 ` Markus dot Elfring at web dot de
2008-02-17 14:27 ` rguenth at gcc dot gnu dot org
2008-02-17 15:52 ` Markus dot Elfring at web dot de
2008-02-17 15:56 ` rguenth at gcc dot gnu dot org
2008-02-17 16:11 ` [Bug c++/35233] Feature request: precise error messages about invalid pointer conversions during " Markus dot Elfring at web dot de
2008-02-17 16:42 ` rguenth at gcc dot gnu dot org
2008-02-17 17:17 ` Markus dot Elfring at web dot de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).