From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25296 invoked by alias); 17 Feb 2008 13:47:58 -0000 Received: (qmail 24377 invoked by uid 48); 17 Feb 2008 13:47:12 -0000 Date: Sun, 17 Feb 2008 13:47:00 -0000 Subject: [Bug c++/35233] New: Unexpected error messages about invalid pointer conversions at end of array initialisation X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "Markus dot Elfring at web dot de" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-02/txt/msg01876.txt.bz2 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