Jan Kim wrote: > On Mon, Mar 08, 1999 at 03:07:09PM +0100, Reiner Dassing wrote: > > Hello! > > Thank you very much all of you who have given me some hints for solving > > my problem of the compilation of PostgreSQL under Digital UNIX V4.0D > > > > Here are the steps of the successful compilation: > > > > 1. The option "-E" of cc gave the hint that the preprocessor has deleted > > the const attribut of the function "PGconn *PQconnectdb(const char > > *conninfo)" > > in file "src/interfaces/libpq/fe-connect.c" > > > > 2. By using the options "-O4 -std" of cc this effect was gone (this is magic > > to me) > > and it was possible to compile it > > There are two ways to explain this "magic": > > * The -std flag might cause some preprocessor macro to be set, which > in turn may effect a macro that controls how prototypes are > declared. > > * The -std flag could also change the response of the tests done with > the compiler by the configure script, and this, again, could change > the prototype declaration macro. > > > The regression tests do show the following results: > > boolean .. ok > > char .. ok > > name .. ok > > varchar .. ok > > text .. ok > > strings .. failed > > int2 .. failed > > int4 .. failed > > int8 .. failed > > This looks strange to me -- from replies, which I got from this list > some time ago, I know that a failing int8 test is not necessarily a > problem, but I'd be concerned if int2 and int4 don't work. What are > the differences between the actual and the expected results? > There are NO differences in numbers but in error explanations:Expected was "Math result not representable"; the actual result is "Result too large" The same effect can be seen wit float8. That means float8 is ok also. But, I do not understand the not usable int8 numbers. Alphas have the representation of 64 bit wide integer representation using long int as the type. Does anybody know where to search for a possible patch? > Greetinx, Jan > -- > +- Jan T. Kim -------------------------------------------------------+ > | email: [EMAIL PROTECTED] | > | WWW: http://www.mpiz-koeln.mpg.de/~kim/ | > *-----=< hierarchical systems are for files, not for humans >=-----* -- Mit freundlichen Gruessen / With best regards Reiner Dassing --------------------------------------------------- | Bundesamt fuer Kartographie und Geodaesie | Fundamentalstation Wettzell | Sackenrieder Str. 25 | D-93444 Koetzting | | Tel: (+49) (0)9941/603-112 | Fax: (+49) (0)9941/603-222 | Zentrale: (+49) (0)9941/603-0 | E-mail: [EMAIL PROTECTED] | URL: http://www.ifag.de ---------------------------------------------------
