t-artistik / qtscriptgenerator

Automatically exported from code.google.com/p/qtscriptgenerator
0 stars 0 forks source link

Solaris 8 generator core-dumps #13

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. build the generator on solaris 8
2. run the generator

What is the expected output? What do you see instead?

The generator program core dumps in Preprocess::preprocess 
call on Solaris 8

What version of the product are you using? On what operating system?
QT 4.4.0/ Solaris 8

Please provide any additional information below.

Is this supposed to work on Solaris 8?

Original issue reported on code.google.com by fontanao...@gmail.com on 13 Oct 2008 at 1:41

GoogleCodeExporter commented 8 years ago
Here is the stack:

(gdb) where
#0  0x00060c24 in pp_string (this=0x47072e, __begin=0x47072c "1", __size=1) at 
pp-
string.h:37
#1  0x000675c0 in rpp::pp_symbol::get(char const*, unsigned) (__data=0x341af4 
"1", 
__size=1) at pp-symbol.h:43
#2  0x000674d0 in rpp::pp_symbol::get(std::string const&) (__s=@0xffbfd4d0) at 
pp-
symbol.h:67
#3  0x00066a08 in char const* rpp::pp::handle_define<char const*>(char const*, 
char 
const*) (this=0xffbfd930, 
    __first=0x45b375 "\n\n#define __STDC__\n\n// Qt\n#define QOBJECTDEFS_H\n\n// not 
yet supported\n#define Q_SLOTS slots\n#define Q_SIGNALS signals\n#define 
Q_FLAGS(a)
\n#define Q_PRIVATE_SLOT(a, b)\n#define Q_DECLARE_INTERFACE(a,b)\n#"..., 
    __last=0x45b375 "\n\n#define __STDC__\n\n// Qt\n#define QOBJECTDEFS_H\n\n// not 
yet supported\n#define Q_SLOTS slots\n#define Q_SIGNALS signals\n#define 
Q_FLAGS(a)
\n#define Q_PRIVATE_SLOT(a, b)\n#define Q_DECLARE_INTERFACE(a,b)\n#"...) at pp-
engine-bits.h:609
#4  0x0007e3c4 in char const* rpp::pp::handle_directive<char const*, 
rpp::pp_null_output_iterator>(char const*, unsigned, char const*, char const*, 
rpp::pp_null_output_iterator) (this=0xffbfd930, 
    __directive=0xffbfd610 "define", __size=6, 
    __first=0x45b368 "__cplusplus 1\n\n#define __STDC__\n\n// Qt\n#define 
QOBJECTDEFS_H\n\n// not yet supported\n#define Q_SLOTS slots\n#define Q_SIGNALS 
signals\n#define Q_FLAGS(a)\n#define Q_PRIVATE_SLOT(a, b)\n#define 
Q_DECLARE_INT"..., 
    __last=0x45b375 "\n\n#define __STDC__\n\n// Qt\n#define QOBJECTDEFS_H\n\n// not 
yet supported\n#define Q_SLOTS slots\n#define Q_SIGNALS signals\n#define 
Q_FLAGS(a)
\n#define Q_PRIVATE_SLOT(a, b)\n#define Q_DECLARE_INTERFACE(a,b)\n#"...) at pp-
engine-bits.h:312
#5  0x0007dc4c in void rpp::pp::operator()<char const*, 
rpp::pp_null_output_iterator>
(char const*, char const*, rpp::pp_null_output_iterator) (this=0xffbfd930, 
    __first=0x45b375 "\n\n#define __STDC__\n\n// Qt\n#define QOBJECTDEFS_H\n\n// not 
yet supported\n#define Q_SLOTS slots\n#define Q_SIGNALS signals\n#define 
Q_FLAGS(a)
\n#define Q_PRIVATE_SLOT(a, b)\n#define Q_DECLARE_INTERFACE(a,b)\n#"..., 
__last=0x45b517 "", __result=
{<iterator<std::output_iterator_tag,void,void,void,void>> = {<No data fields>}, 
<No 
data fields>}) at pp-engine-bits.h:464
#6  0x0007bbc0 in Preprocess::preprocess(QString const&, QString const&, 
QString 
const&) (sourceFile=@0xffbfeaf8, targetFile=@0xffbfeae8, 
commandLineIncludes=@0xffbfea98) at main.h:51
#7  0x0007ae6c in main (argc=1, argv=0xffbfeb8c) at main.cpp:134

Original comment by fontanao...@gmail.com on 13 Oct 2008 at 1:44

GoogleCodeExporter commented 8 years ago
I was able to build and run it on Linux and Windows.

Is there any way I can run the generator on Linux and build the bindings
on Solaris?  Do you see any problems with that?

Original comment by fontanao...@gmail.com on 13 Oct 2008 at 2:05

GoogleCodeExporter commented 8 years ago
Generating the bindings on Linux and building them on Solaris should be OK; 
there's 
nothing platform-specific in the generated bindings, at least.

Original comment by kentm...@gmail.com on 5 Nov 2008 at 1:06