help with gcc 4.3 failure on xbsql

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



One of my packages is failing to build with gcc 4.3, and the error seems
lodged in C++ and bison, and I can't quite see how to fix it.

Help me interwebs, you are my only hope:

https://bugzilla.redhat.com/show_bug.cgi?id=434439

Essentially, the failure is:

g++ -DHAVE_DLFCN_H=1 -DPACKAGE=\"xbsql\" -DVERSION=\"0.10\" -I. -I.
-UNO_READLINE -I/usr/local/include -g -c xbsql.tab.c -MT xbsql.tab.lo
-MD -MP -MF .deps/xbsql.tab.TPlo  -fPIC -DPIC -o .libs/xbsql.tab.lo
mv -f .libs/xb_datetime.lo xb_datetime.lo
In file included from xbsql.y:719:
xbsql.l: In function 'int xbsql_lex()':
xbsql.l:13: error: reference to 'string' is ambiguous
xbsql.y:14: error: candidates are: void string(int)
/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../include/c
++/4.3.0/bits/stringfwd.h:60: error:                 typedef struct
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
std::string
xbsql.l:13: error: reference to 'string' is ambiguous
xbsql.y:14: error: candidates are: void string(int)
/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../include/c
++/4.3.0/bits/stringfwd.h:60: error:                 typedef struct
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
std::string
xbsql.l: At global scope:
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
xbsql.l:113: warning: deprecated conversion from string constant to
'char*'
make[2]: *** [xbsql.tab.lo] Error 1
make[2]: Leaving directory `/home/spot/cvs/xbsql/devel/xbsql-0.11/xbsql'

Thanks in advance,

~spot

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux