Re: [Sqlrelay-discussion] FYI: compile errror sqlrelay 0.37pre2
Brought to you by:
mused
|
From: Firstworks/4access <dav...@fi...> - 2005-11-04 15:02:31
|
Sorry to take sooo long to get back on this one... Try http://www.firstworks.com/sqlrelay-0.36pre4.tar.gz I ran into similar problems on a couple of other platforms. This pre-release should fix this problem. If it doesn't, let me know. David Muse dav...@fi... On Fri, 2005-10-14 at 16:51 +0800, Paul D. Walker wrote: > Hi All, > > I just tried compiling 0.37pre2 on a machine that had no complaints with > 0.36.4 and got the following error: > > === > In file included from debugfile.C:4: > debugfile.h:22: type specifier omitted for parameter > debugfile.h:22: parse error before `)' > debugfile.h:25: type specifier omitted for parameter > debugfile.h:25: parse error before `)' > debugfile.h:26: type specifier omitted for parameter > debugfile.h:26: parse error before `)' > debugfile.C: In method `void debugfile::debugPrint (const char *, int, > int)': > debugfile.C:74: call of overloaded `write(char *&, int32_t &, int32_t > &)' is ambiguous > /usr/local/site/firstworks/include/rudiments/logger.h:116: candidates are: > void > rudiments::logger::write (const char *, int, char) > /usr/local/site/firstworks/include/rudiments/logger.h:119: > void > rudiments::logger::write (const char *, int, long int) > /usr/local/site/firstworks/include/rudiments/logger.h:122: > void > rudiments::logger::write (const char *, int, double) > debugfile.C: At top level: > debugfile.C:84: type specifier omitted for parameter > debugfile.C:84: parse error before `)' > debugfile.C: In method `void debugfile::debugPrintBlob (...)': > debugfile.C:91: `uint32_t' undeclared (first use this function) > debugfile.C:91: (Each undeclared identifier is reported only once for > each function it appears in.) > debugfile.C:91: parse error before `=' > debugfile.C:91: `i' undeclared (first use this function) > debugfile.C:91: `length' undeclared (first use this function) > debugfile.C:92: `blob' undeclared (first use this function) > debugfile.C: At top level: > debugfile.C:110: type specifier omitted for parameter > debugfile.C:110: parse error before `)' > debugfile.C: In method `void debugfile::debugPrintClob (...)': > debugfile.C:116: parse error before `=' > debugfile.C:117: `clob' undeclared (first use this function) > === > > I checked the file is was complaining about (debugfile.h) and did a diff > against the previous version > > === > diff debugfile.h ../../../sqlrelay-0.36.4/src/util/debugfile.h > 17,26c17,22 > < void debugPrint(const char *name, int32_t tabs, > < const char *string); > < void debugPrint(const char *name, int32_t tabs, > < int32_t number); > < void debugPrint(const char *name, int32_t tabs, > < uint32_t number); > < void debugPrint(const char *name, int32_t tabs, > < double number); > < void debugPrintBlob(const char *blob, uint32_t length); > < void debugPrintClob(const char *clob, uint32_t length); > --- > > void debugPrint(const char *name, int tabs, > > const char *string); > > void debugPrint(const char *name, int tabs, long number); > > void debugPrint(const char *name, int tabs, double > number); > > void debugPrintBlob(const char *blob, unsigned long > length); > > void debugPrintClob(const char *clob, unsigned long > length); > === > > where int was refined as int32_t. The compiler here doesnt like it. > > Does anyone have any suggestions on how I can get around this problem? > > The system is a Redhat 7.3 based system using gcc 2.96. > > Any help would be appreciated. > > - Paul > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > |