Skip site navigation (1) Skip section navigation (2)

Appropriate wxLongLong method?

From: "Hiroshi Saito" <saito(at)inetrt(dot)skcapi(dot)co(dot)jp>
To: <pgadmin-hackers(at)postgresql(dot)org>
Subject: Appropriate wxLongLong method?
Date: 2005-09-08 13:02:23
Message-ID: 0a7401c5b475$8dbc2c20$01324d80@hiroshi5jz7dqj (view raw, whole thread or download thread mbox)
Lists: pgadmin-hackers
Hi Andreas.

Now, am only I strange?

base/base.cpp: In function `wxString NumToStr(wxLongLongNative)':
base/base.cpp:130: cannot pass objects of non-POD type `class wxLongLong' 
   through `...'
gmake[2]: *** [base.o] error 1
gmake[1]: *** [all-recursive] error 1
gmake: *** [all] error 2

--- src/base/base.cpp.orig      Thu Sep  8 21:37:15 2005
+++ src/base/base.cpp   Thu Sep  8 21:37:15 2005
@@ -30,7 +30,7 @@
 #define atolonglong(str) strtoll(str, (char **)NULL, 10) 
 #ifdef __FreeBSD__
-#define atolonglong(str) strtoll(str, (char **)NULL, 10)
+#define atolonglong(str) strtoll(str, NULL, 10)
 #define atolonglong atoll

It was required for me. Probably, #undef atolonglong may also be necessity. 
However, Should not the origin of the wxLongLong method of wxWidget be changed?

Hiroshi Saito


pgadmin-hackers by date

Next:From: blacknozDate: 2005-09-09 07:52:10
Subject: Re: Pgadmin III connection error
Previous:From: Dave PageDate: 2005-09-08 11:40:46
Subject: Re: is anyone paying any attention to this email list?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group