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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| > -----Original Message----- > From: pgadmin-hackers-owner@postgresql.org > [mailto > 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 |