Bug #9520 2006-11-21 05:39

daniel2000

Compile error in DetermineExecutablePath()

I get this error in rev3248 on suse:

g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../../src/sdk/wxscintilla/include -I../../src/sdk/tinyxml -I../../src/sdk/scripting/include -I../../src/sdk/scripting/sqplus -I../../src/sdk/wxFlatNotebook/include -I../../src/sdk/propgrid/include -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -MT configmanager.lo -MD -MP -MF .deps/configmanager.Tpo -c configmanager.cpp -fPIC -DPIC -o .libs/configmanager.o

configmanager.cpp: In function 'wxString<unnamed>::DetermineExecutablePath()':

configmanager.cpp:71: error: expected initializer before ')' token

configmanager.cpp:72: error: 'c' was not declared in this scope

configmanager.cpp:75: error: conversion from 'char*' to 'const wxString' is ambiguous

/usr/include/wx-2.6/wx/string.h:643: note: candidates are: wxString::wxString(wxChar, size_t) <near match>

/usr/include/wx-2.6/wx/string.h:633: note: wxString::wxString(int) <near match>

make[4]: *** [configmanager.lo] Fehler 1

Category
 
Group
 
Status
Closed
Close date
2006-11-24 08:43
Assigned to
 
daniel2000 2006-11-24 08:42

Got fixed in rev2350

daniel2000 2006-11-24 08:43

it was rev3250 ;-)