Unix Technical Forum

Re: CVS Commit by andreas: Fix reading/writing bool config values

This is a discussion on Re: CVS Commit by andreas: Fix reading/writing bool config values within the pgsql Interfaces Pgadmin Hackers forums, part of the PostgreSQL category; --> > -----Original Message----- > From: pgadmin-hackers-owner@postgresql.org > [mailto gadmin-hackers-owner@postgresql.org] On Behalf Of > cvs@developer.pgadmin.org > Sent: 29 March 2005 ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 04:35 PM
Dave Page
 
Posts: n/a
Default Re: CVS Commit by andreas: Fix reading/writing bool config values



> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org
> [mailtogadmin-hackers-owner@postgresql.org] On Behalf Of
> cvs@developer.pgadmin.org
> Sent: 29 March 2005 18:43
> To: pgadmin-hackers@postgresql.org
> Subject: [pgadmin-hackers] CVS Commit by andreas: Fix
> reading/writing bool config values
>
> Log Message:
> -----------
> Fix reading/writing bool config values
>
> Modified Files:
> --------------
> pgadmin3/src/include:
> sysSettings.h (r1.37 -> r1.38)
> pgadmin3/src/ui:
> frmMain.cpp (r1.124 -> r1.125)
> pgadmin3/src/utils:
> sysSettings.cpp (r1.69 -> r1.70)


Oops. This seems to break things somewhat on win32:

sysSettings.cpp
C:\Documents and Settings\dpage\My
Documents\CVS\pgadmin3\src\utils\sysSettings.cpp(1 62) : warning C4800:
'unsigned short *' : forcing value to bool 'true' or 'false'
(performance warning)
C:\Documents and Settings\dpage\My
Documents\CVS\pgadmin3\src\utils\sysSettings.cpp(1 64) : warning C4800:
'unsigned short *' : forcing value to bool 'true' or 'false'
(performance warning)
C:\Documents and Settings\dpage\My
Documents\CVS\pgadmin3\src\utils\sysSettings.cpp(1 70) : warning C4800:
'unsigned short *' : forcing value to bool 'true' or 'false'
(performance warning)
C:\Documents and Settings\dpage\My
Documents\CVS\pgadmin3\src\utils\sysSettings.cpp(1 73) : warning C4800:
'unsigned short *' : forcing value to bool 'true' or 'false'
(performance warning)
C:\Documents and Settings\dpage\My
Documents\CVS\pgadmin3\src\utils\sysSettings.cpp(1 76) : warning C4800:
'unsigned short *' : forcing value to bool 'true' or 'false'
(performance warning)
C:\Documents and Settings\dpage\My
Documents\CVS\pgadmin3\src\utils\sysSettings.cpp(1 85) : warning C4800:
'const unsigned short *' : forcing value to bool 'true' or 'false'
(performance warning)
Generating Code...
C:\Documents and Settings\dpage\My
Documents\CVS\pgadmin3\src\utils\sysSettings.cpp(2 11) : error C4716:
'sysSettings::Write' : must return a value
Compiling...
update.cpp
C:\Documents and Settings\dpage\My
Documents\CVS\pgadmin3\src\utils\update.cpp(54) : warning C4800: 'const
unsigned short *' : forcing value to bool 'true' or 'false' (performance
warning)
dlgAggregate.cpp

....
....

frmHint.cpp
C:\Documents and Settings\dpage\My
Documents\CVS\pgadmin3\src\ui\frmHint.cpp(126) : warning C4800:
'unsigned short *' : forcing value to bool 'true' or 'false'
(performance warning)
C:\Documents and Settings\dpage\My
Documents\CVS\pgadmin3\src\ui\frmHint.cpp(145) : warning C4800: 'const
unsigned short *' : forcing value to bool 'true' or 'false' (performance
warning)

Regards, Dave.

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:36 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com