[gtkmm] Compiling problems...
- From: Amit BHATNAGAR <abhatnag mda ca>
- To: gtkmm-list gnome org
- Subject: [gtkmm] Compiling problems...
- Date: Fri, 12 Dec 2003 11:53:45 -0800
Hi all.
I have GTK+ 2.2.4 installed and I am trying to compile
glademm-2.0.0.1, on solaris 8. I get the following error:
The following error is occuring in the make of clist.cc
in glademm
make[3]: Entering directory
`/export/home/jgg/software/glademm-2.0.0.1/src/writers'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../SourceWriter
-I/usr/local/gtk/include
-g -O2 -MT clist.o -MD -MP -MF ".deps/clist.Tpo" \
-c -o clist.o `test -f 'clist.cc' || echo './'`clist.cc; \
then mv -f ".deps/clist.Tpo" ".deps/clist.Po"; \
else rm -f ".deps/clist.Tpo"; exit 1; \
fi
In file included from /usr/local/include/c++/3.2.2/backward/strstream:51,
from ../SourceWriter/SystemFile.hh:24,
from ../SourceWriter/CxxFile.hh:28,
from WriterBase.hh:29,
from widget.hh:22,
from container.hh:22,
from clist.hh:21,
from clist.cc:21:
/usr/local/include/c++/3.2.2/backward/backward_warning.h:32:2: warning:
#warning This file includes at least one deprecated or antiquated header.
Please consider using one of the 32 headers found in section 17.4.1.2 of the
C++ standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
clist.cc: In member function `virtual void Gtk_CList::Configure(const
Widget&,
CxxFile&, const std::string&) const':
clist.cc:49: `alloca' undeclared (first use this function)
clist.cc:49: (Each undeclared identifier is reported only once for each
function it appears in.)
clist.cc:133:2: warning: #warning Fixme for non standard column headers
(internal widgets)
The offending code in clist.cc is:
void Gtk_CList::Configure(const Widget &w, CxxFile &f,const std::string
&instance) const
{ Parent::Configure(w,f,instance);
std::string column_widths=w.getProperty("column_widths","20");
#ifdef __MINGW32__
char buffer[column_widths.size()+1];
#else
char *buffer=(char*)alloca(column_widths.size()+1);
#endif
memcpy(buffer,column_widths.c_str(),column_widths.size()+1);
char *stringp=buffer;
// 2do: Tooltips
any ideas?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]