Re: [sqlite] configure syntax error on HP

2008-06-23 Thread Dennis Cote
Dan wrote: > > You don't, by chance, know how to get gcc to report variable > declarations > mixed in with code as errors (or warnings) do you? > > i.e. how do I get the following to cause an error? > >void somefunction(){ > int one; > popuateOne(); > int two; >} >

Re: [sqlite] configure syntax error on HP

2008-06-22 Thread Jay A. Kreibich
On Sun, Jun 22, 2008 at 05:36:32PM -0400, Matt Sergeant scratched on the wall: > On Sat, 21 Jun 2008 11:50:31 +0700, Dan wrote: > >> On Thu, 19 Jun 2008 12:05:56 -0400, D. Richard Hipp wrote: > >>> On Jun 19, 2008, at 11:49 AM, Matt Sergeant wrote: > > Note that there are some C++ style

Re: [sqlite] configure syntax error on HP

2008-06-22 Thread Matt Sergeant
On Sat, 21 Jun 2008 11:50:31 +0700, Dan wrote: > >> On Thu, 19 Jun 2008 12:05:56 -0400, D. Richard Hipp wrote: >>> >>> On Jun 19, 2008, at 11:49 AM, Matt Sergeant wrote: Note that there are some C++ style comments crept back into the code (I noticed in the amalgamation, so I

Re: [sqlite] configure syntax error on HP

2008-06-20 Thread Dan
On Jun 21, 2008, at 1:27 AM, Matt Sergeant wrote: > On Thu, 19 Jun 2008 12:05:56 -0400, D. Richard Hipp wrote: >> >> On Jun 19, 2008, at 11:49 AM, Matt Sergeant wrote: >>> >>> Note that there are some C++ style comments crept back into the code >>> (I >>> noticed in the amalgamation, so I can't

Re: [sqlite] configure syntax error on HP

2008-06-20 Thread Matt Sergeant
On Thu, 19 Jun 2008 12:05:56 -0400, D. Richard Hipp wrote: > > On Jun 19, 2008, at 11:49 AM, Matt Sergeant wrote: >> >> Note that there are some C++ style comments crept back into the code >> (I >> noticed in the amalgamation, so I can't give you a direct pointer to >> them). This causes

Re: [sqlite] configure syntax error on HP

2008-06-19 Thread D. Richard Hipp
On Jun 19, 2008, at 11:49 AM, Matt Sergeant wrote: > > Note that there are some C++ style comments crept back into the code > (I > noticed in the amalgamation, so I can't give you a direct pointer to > them). This causes compile failures on stricter C compilers. Already been fixed.

Re: [sqlite] configure syntax error on HP

2008-06-19 Thread Dan
On Jun 19, 2008, at 10:49 PM, Matt Sergeant wrote: > On Wed, 18 Jun 2008 19:58:02 -0400, D. Richard Hipp wrote: >> >> On Jun 18, 2008, at 7:12 PM, Andrea Connell wrote: >> >>> I want to use the C API with a C++ class but when I try compiling... >>> >>> $ aCC -AA +W829 main.cpp sqlite3.c >>>

Re: [sqlite] configure syntax error on HP

2008-06-19 Thread Matt Sergeant
On Wed, 18 Jun 2008 19:58:02 -0400, D. Richard Hipp wrote: > > On Jun 18, 2008, at 7:12 PM, Andrea Connell wrote: > >> I want to use the C API with a C++ class but when I try compiling... >> >> $ aCC -AA +W829 main.cpp sqlite3.c >> main.cpp: >> sqlite3.c: >> Error 482: "sqlite3.c", line 532 #

Re: [sqlite] configure syntax error on HP

2008-06-19 Thread Andrea Connell
. Richard Hipp Sent: Wednesday, June 18, 2008 6:58 PM To: General Discussion of SQLite Database Subject: Re: [sqlite] configure syntax error on HP On Jun 18, 2008, at 7:12 PM, Andrea Connell wrote: > I want to use the C API with a C++ class but when I try compiling... > > $ aCC -AA +W829

Re: [sqlite] configure syntax error on HP

2008-06-18 Thread D. Richard Hipp
On Jun 18, 2008, at 7:12 PM, Andrea Connell wrote: > I want to use the C API with a C++ class but when I try compiling... > > $ aCC -AA +W829 main.cpp sqlite3.c > main.cpp: > sqlite3.c: > Error 482: "sqlite3.c", line 532 # Array of unknown size; 'const char SQLite is written in C, not C++. You

Re: [sqlite] configure syntax error on HP

2008-06-18 Thread Andrea Connell
>On Jun 18, 2008, at 5:38 PM, Andrea Connell wrote: > >> I'm trying to compile 3.5.9 on an HP-UX 11i v1 machine but I can't get >> past step one... >> >> I unpacked the amalgamation, cd'd to the directory, and ran >> './configure' - that didn't work so I tried 'sh ./configure' like the >> install

Re: [sqlite] configure syntax error on HP

2008-06-18 Thread D. Richard Hipp
On Jun 18, 2008, at 5:38 PM, Andrea Connell wrote: > I'm trying to compile 3.5.9 on an HP-UX 11i v1 machine but I can't get > past step one... > > I unpacked the amalgamation, cd'd to the directory, and ran > './configure' - that didn't work so I tried 'sh ./configure' like the > install