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