Thread: can't compile
Dave, I thought of one other thing ... I'm using MSVC Standard ... are you using the Pro version? Maybe there is something in global options, or some kind of compiler optimization. Since VC standard doesn't do compiler optimizations, it's possible that there's a bad optimization set for compilation on pro. ANyway, just a thought. Please keep me updated as to how things go on that side. -Keith
> -----Original Message----- > From: efesar [mailto:efesar@nmia.com] > Sent: 21 March 2003 18:11 > To: Dave Page; Pgadmin-Hackers > Subject: can't compile > > > Dave, > > I thought of one other thing ... I'm using MSVC Standard ... > are you using the Pro version? Maybe there is something in > global options, or some kind of compiler optimization. Since > VC standard doesn't do compiler optimizations, it's possible > that there's a bad optimization set for compilation on pro. > > ANyway, just a thought. Please keep me updated as to how > things go on that side. Hmm, that is a thought as I'm using Enterprise. What are your compiler and linker flags? Regards, Dave.
Dave, Sorry, I don't know how I missed this. I might be getting .NET Studio Professional, and hopefully I will be able to reproduce at least part of the problem. My compiler switches: C++: /nologo /MD /W3 /GX /O2 /Ob2 /I "include/" /I "c:/wxWindows_2.4.0/include" /I "c:/wxWindows_2.4.0/contrib/include" /I "c:/wxWindows_2.4.0/lib/mswd" /I "c:/postgresql/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FAcs /Fa"Release/" /FR"Release/" /Fo"Release/" /Fd"Release/" /FD /c Linker: kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib stc.lib libpq.lib wxxrc.lib /nologo /subsystem:windows /incremental:no /pdb:"Release/pgAdmin3.pdb" /map:"Release/pgAdmin3.map" /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/pgAdmin3.exe" /libpath:"c:/wxWindows_2.4.0/lib" /libpath:"c:/wxWindows_2.4.0/contrib/lib" /libpath:"c:/postgresql/lib" Resources: /l 0x809 /fo"Release/pgAdmin3.res" /i "c:/wxWindows_2.4.0/include" /i "c:/wxWindows_2.4.0/contrib/include" /d "NDEBUG" MIDL: /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 Browse Info: /nologo /o"Release/pgAdmin3.bsc" Custom/Prelink/Postbuild: nothing -Keith > -----Original Message----- > From: pgadmin-hackers-owner@postgresql.org > [mailto:pgadmin-hackers-owner@postgresql.org]On Behalf Of Dave Page > Sent: Friday, March 21, 2003 12:46 PM > To: efesar; Pgadmin-Hackers > Subject: Re: [pgadmin-hackers] can't compile > > > > > > -----Original Message----- > > From: efesar [mailto:efesar@nmia.com] > > Sent: 21 March 2003 18:11 > > To: Dave Page; Pgadmin-Hackers > > Subject: can't compile > > > > > > Dave, > > > > I thought of one other thing ... I'm using MSVC Standard ... > > are you using the Pro version? Maybe there is something in > > global options, or some kind of compiler optimization. Since > > VC standard doesn't do compiler optimizations, it's possible > > that there's a bad optimization set for compilation on pro. > > > > ANyway, just a thought. Please keep me updated as to how > > things go on that side. > > Hmm, that is a thought as I'm using Enterprise. What are your compiler > and linker flags? > > Regards, Dave. > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) >
Thanks Keith, I'll take a look when I get a mo. > -----Original Message----- > From: efesar [mailto:efesar@nmia.com] > Sent: 27 March 2003 20:21 > To: Dave Page; Pgadmin-Hackers > Subject: RE: [pgadmin-hackers] can't compile > > > > Dave, > > Sorry, I don't know how I missed this. > > I might be getting .NET Studio Professional, and hopefully I > will be able to reproduce at least part of the problem. > > > > My compiler switches: > > C++: > > /nologo /MD /W3 /GX /O2 /Ob2 /I "include/" /I > "c:/wxWindows_2.4.0/include" /I > "c:/wxWindows_2.4.0/contrib/include" /I > "c:/wxWindows_2.4.0/lib/mswd" /I "c:/postgresql/include" /D > "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D > "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D > "STRICT" /FAcs /Fa"Release/" /FR"Release/" /Fo"Release/" > /Fd"Release/" /FD /c > > Linker: > > kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib > advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib > odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib > winmm.lib wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib > stc.lib libpq.lib wxxrc.lib /nologo /subsystem:windows > /incremental:no /pdb:"Release/pgAdmin3.pdb" > /map:"Release/pgAdmin3.map" /machine:I386 > /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" > /nodefaultlib:"msvcrtd.lib" /out:"Release/pgAdmin3.exe" > /libpath:"c:/wxWindows_2.4.0/lib" > /libpath:"c:/wxWindows_2.4.0/contrib/lib" > /libpath:"c:/postgresql/lib" > > Resources: > > /l 0x809 /fo"Release/pgAdmin3.res" /i > "c:/wxWindows_2.4.0/include" /i > "c:/wxWindows_2.4.0/contrib/include" /d "NDEBUG" > > MIDL: > > /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 > > Browse Info: > > /nologo /o"Release/pgAdmin3.bsc" > > Custom/Prelink/Postbuild: nothing > > -Keith > > > -----Original Message----- > > From: pgadmin-hackers-owner@postgresql.org > > [mailto:pgadmin-hackers-owner@postgresql.org]On Behalf Of Dave Page > > Sent: Friday, March 21, 2003 12:46 PM > > To: efesar; Pgadmin-Hackers > > Subject: Re: [pgadmin-hackers] can't compile > > > > > > > > > > > -----Original Message----- > > > From: efesar [mailto:efesar@nmia.com] > > > Sent: 21 March 2003 18:11 > > > To: Dave Page; Pgadmin-Hackers > > > Subject: can't compile > > > > > > > > > Dave, > > > > > > I thought of one other thing ... I'm using MSVC Standard > ... are you > > > using the Pro version? Maybe there is something in global > options, > > > or some kind of compiler optimization. Since VC standard > doesn't do > > > compiler optimizations, it's possible that there's a bad > > > optimization set for compilation on pro. > > > > > > ANyway, just a thought. Please keep me updated as to how > things go > > > on that side. > > > > Hmm, that is a thought as I'm using Enterprise. What are > your compiler > > and linker flags? > > > > Regards, Dave. > > > > ---------------------------(end of > > broadcast)--------------------------- > > TIP 2: you can get off all lists at once with the unregister command > > (send "unregister YourEmailAddressHere" to > majordomo@postgresql.org) > > > > >
Ok, got it. wxDialog or wxFrame member functions that are used in the event map MUST be declared with a correct argument. OnClose() or OnRefresh() will crash, OnClose(wxCloseEvent&) or OnRefresh(wxCommandEvent&) are ok. My last non-debug binary is downloadable at www.pse-consulting.de/pgadmin3/pgadmin3.zip Regards, Andreas
> -----Original Message----- > From: Andreas Pflug [mailto:Andreas.Pflug@web.de] > Sent: 30 March 2003 03:09 > To: Dave Page; pgadmin-hackers@postgresql.org > Subject: Re: [pgadmin-hackers] can't compile > > > Ok, got it. > wxDialog or wxFrame member functions that are used in the event map > MUST be declared with a correct argument. > OnClose() or OnRefresh() will crash, OnClose(wxCloseEvent&) or > OnRefresh(wxCommandEvent&) are ok. Did I miss a message? I don't remember seeing anything about compilation problems... > My last non-debug binary is downloadable at > www.pse-consulting.de/pgadmin3/pgadmin3.zip Wow, looks great. Nice work. My only thought is that we now have 2 query tools, though with obvious differences. Any thoughts on the best way to handle that? I think both are good, but Andreas has obviously spent more time getting the look and output right, whilst Keith has spent time on the query builder features. Any thoughts guys? Regards, Dave.