#2 compiling against different popts

open
nobody
None
5
2012-09-14
2001-12-15
No

See message 271 and followups. Building xvoice with popt1.4 causes some compilers to break:

c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -DNEED_GNOMESUPPORT_H
-I/usr/lib/gnome-libs/include -I/usr/lib/glib/include -I/usr/X11R6/include
-I/usr/lib/ViaVoice/include -DDATADIR=\"/usr/local/share\" -c wmgeneral.cc
wmgeneral.cc: In function void openXwindow(int, char **, const poptOption *, char **, char *, int, int)': wmgeneral.cc:425: passingconst char ' as argument 3 of
`poptGetContext(const char *, int, char
, const poptOption *, int)'
discards qualifiers

Either require a higher version of popt in the configure script, or find a way to make the code work with older and newer versions.

Discussion


Log in to post a comment.