Re: pgAdmin3_REL-1_0_0_PATCHES - Mailing list pgadmin-hackers

From Hiroshi Saito
Subject Re: pgAdmin3_REL-1_0_0_PATCHES
Date
Msg-id 20040131093206.46b4d01c.saito@inetrt.skcapi.co.jp
Whole thread Raw
In response to pgAdmin3_REL-1_0_0_PATCHES  ("Hiroshi Saito" <saito@inetrt.skcapi.co.jp>)
List pgadmin-hackers
Hi Andreas.

From: "Andreas Pflug" <pgadmin@pse-consulting.de>

> Hi Hiroshi,
> typo is fixed (MSVC won't complain...)
Oh,windows is generous.(I say a complaint.):-)

>
> There really should be a localeconv(), could you check locale.h for it?

Ah...
I tend to overlook a fundamental thing.

However....
In file included from db/keywords.c:15:
./src/include/postgres.h:24:23: warning: no newline at end of file
In file included from db/keywords.c:21:
./src/include/parser/parse.h:711: warning: type defaults to `int' in declaration of `yylval'
utils/misc.cpp: In function `double StrToDouble(const wxString&)':
utils/misc.cpp:185: `localeconv' undeclared (first use this function)
utils/misc.cpp:185: (Each undeclared identifier is reported only once for each
   function it appears in.)
gmake[2]: *** [misc.o] Error 1
gmake[1]: *** [all-recursive] Error 1

I want to put this in.

--- src/utils/misc.cpp.org      Sat Jan 31 09:24:22 2004
+++ src/utils/misc.cpp  Sat Jan 31 09:24:54 2004
@@ -22,6 +22,7 @@

 // Standard headers
 #include <stdlib.h>
+#include <locale.h>

 // App headers
 #include "misc.h"

>
> Regards,
> Andreas

Thank you.:-)

regards,
Hiroshi Saito

pgadmin-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: pgAdmin3_REL-1_0_0_PATCHES
Next
From: Jean-Michel POURE
Date:
Subject: pgAdmin web site issues