[gtkmm] build problems with 1.2.10 (gcc 2.95.3)



Salutations,

with gtkmm 1.2.10 and gcc 2.95.3 i get this build crash: 

In file included from wrap.cc:1:
../gtk--/object.h:3: unterminated string or character constant
../gtk--/object.h:4: unterminated string or character constant
In file included from wrap.cc:1:
../gtk--/object.h:291: unbalanced `#endif'
gmake[4]: *** [wrap.lo] Error 1
[... etc etc ...]

which seems to be due to:

#ifndef _`'_UPPER_(translit(`gtkmm_object', `-', `_'))`'_H
#define _`'_UPPER_(translit(`gtkmm_object', `-', `_'))`'_H

in object.h, two lines which are fully indeciferable (does ` even have
special meaning in C/C++?)

Since this file is generated by gtkmmproc my first guess was install GNU
m4 (im on OpenBSD 3.3), but that didnt help. So I just replaced them
with #ifndef _UNIQUE_STRING_ etc. It built fine. Then, when trying to
build the software that depended on gtkmm, I found this same wacked-out
#ifndef was at the top of each header, so I wrote a perl script to
replace that with unique strings and voila. Whats up with this stuff?
Are all you gtk people just on drugs or what? Is my gtkmm somehow broken
without this magic sequence? Should I just give up and use debian?!?

I eagerly await your response.

(I was also very intrigued by the --enable-voodoo in the configure
script, you silly gtkmm coders!)

-- 
Zack Hamm / zsh perilith com
War Be Upon You.



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