Re: switching to C++ compiling by -xc++ (was: gnucash master: Multiple changes pushed)

2014-04-27 Thread Mike Alexander
On Apr 27, 2014, at 5:15 PM, John Ralls wrote: > > However, I don’t think changing files one by one is wise: It will result in > libraries with objects compiled with different compilers, and I worry that > that will introduce difficult to understand bugs. That’s not a matter for > immediate co

Re: switching to C++ compiling by -xc++ (was: gnucash master: Multiple changes pushed)

2014-04-27 Thread John Ralls
On Apr 27, 2014, at 2:15 PM, John Ralls wrote: > > On Apr 27, 2014, at 2:01 PM, Mike Alexander wrote: > >> --On April 27, 2014 10:06:24 PM +0200 Christian Stimming >> wrote: >> >>> Can we please trigger the switch from C to C++ by renaming the files, >>> one by one? This makes it clear wh

Re: switching to C++ compiling by -xc++ (was: gnucash master: Multiple changes pushed)

2014-04-27 Thread John Ralls
On Apr 27, 2014, at 2:01 PM, Mike Alexander wrote: > --On April 27, 2014 10:06:24 PM +0200 Christian Stimming > wrote: > >> Can we please trigger the switch from C to C++ by renaming the files, >> one by one? This makes it clear which files have to adhere to C++ >> rules and which ones don'

Re: switching to C++ compiling by -xc++ (was: gnucash master: Multiple changes pushed)

2014-04-27 Thread Mike Alexander
--On April 27, 2014 10:06:24 PM +0200 Christian Stimming wrote: Can we please trigger the switch from C to C++ by renaming the files, one by one? This makes it clear which files have to adhere to C++ rules and which ones don't have to. Thanks! I agree with this. Compiling C files as C++ c

Re: Compile error current master

2014-04-27 Thread Christian Stimming
Am Samstag, 26. April 2014, 07:10:29 schrieb John Ralls: > > On a Mac (10.9.2, Xcode 5.0.2) I get a slightly different error: > > mv -f .deps/libgnc_qof_la-gnc-date.Tpo .deps/libgnc_qof_la-gnc-date.Plo > > make[5]: *** No rule to make target `gnc-numeric.c', needed by > > `gnc-numeric.lo'. Stop. >

Re: switching to C++ compiling by -xc++ (was: gnucash master: Multiple changes pushed)

2014-04-27 Thread Christian Stimming
Hi John, in bedf00a160669a86942a1b52f47c65b8c45c9552 you said you changed "LibQOF to be compiled as C++", which you did by adding "-xc++" to the CFLAGS, but leaving the file suffixes as ".c". This isn't nice. The convention throughout all projects that I know so far is that if the file ends i

Re: GnuCash Segfaults on start

2014-04-27 Thread Geert Janssens
On Sunday 27 April 2014 21:16:02 Herbert Mühlburger wrote: > Hi, > > Am 2014-04-24 22:38, schrieb Geert Janssens: > > Can you generate a backtrace from the core file ? That will give > > some > > insight in where exactly gnucash is segfaulting. > > I attached the backtrace of the crash. > > Rega

Re: GnuCash Segfaults on start

2014-04-27 Thread Herbert Mühlburger
Hi, Am 2014-04-24 22:38, schrieb Geert Janssens: > Can you generate a backtrace from the core file ? That will give some > insight in where exactly gnucash is segfaulting. I attached the backtrace of the crash. Regards, Herbert. #0 0x7fffd599edac in dbi_initialize_r () from /usr/lib/x86_