Re: SQL Errors

2004-07-15 Thread Peter O'Gorman
Perry Smith wrote: I'm attaching with gdb, breaking in nl_langinfo, and it is going to the system library. I'm also running my test program with gdb and it is going to the same function. (BTW, I'm on Mac OSX 10.3). Both of the calls call setlocale with the same two arguments. So, I'm still s

Re: SQL Errors

2004-07-15 Thread Peter O'Gorman
Perry Smith wrote: I'm checking out IBM's nl_langinfo code to see what it does (what does it look at... LANG? NLSPATH?) I have only one langinfo.h on my system but I may have a library in the fink system somewhere that I'm linking to instead of Apple's. If you are on Mac OS X 10.3 or later you h

Re: SQL Errors

2004-07-15 Thread Perry Smith
I'm attaching with gdb, breaking in nl_langinfo, and it is going to the system library. I'm also running my test program with gdb and it is going to the same function. (BTW, I'm on Mac OSX 10.3). Both of the calls call setlocale with the same two arguments. So, I'm still stumped as to why g

Re: gnc_numeric function pointer casts

2004-07-15 Thread Neil Williams
On Thursday 15 July 2004 10:58, Derek Atkins wrote: > Only because you don't understand function pointers. ;) > I suggest you read up on them, and then you'll understand > what's going on and why your code is crapping out... I was nearly there. :-) Thanks, Derek. > Ok, do you understand the diff

Re: gnc_numeric function pointer casts

2004-07-15 Thread Derek Atkins
Neil Williams <[EMAIL PROTECTED]> writes: > casts are getting to be the major problem in my code! Only because you don't understand function pointers. ;) I suggest you read up on them, and then you'll understand what's going on and why your code is crapping out... > In the: > Re: scheduled tran

gnc_numeric function pointer casts

2004-07-15 Thread Neil Williams
casts are getting to be the major problem in my code! In the: Re: scheduled transactions make bad transactions with 1.8.9 ? thread Tue, 22 Jun 2004, Derek, you advised: > You should cast the function-pointer first and then things will > be happy: > >gnc_numeric (*numeric_getter)(gpointer) =

Re: SQL Errors

2004-07-15 Thread Perry Smith
I'm checking out IBM's nl_langinfo code to see what it does (what does it look at... LANG? NLSPATH?) I have only one langinfo.h on my system but I may have a library in the fink system somewhere that I'm linking to instead of Apple's. Still exploring... On Jul 15, 2004, at 3:49 PM, Derek Atkins

Re: SQL Errors

2004-07-15 Thread Derek Atkins
I think we've crossed the line into gnucash-devel territory. All I can think is that CODESET is getting multiply-defined, or fink isn't pulling in the right langinfo.h, or... I don't know. I've not got a Mac to play with, nor have I ever built the existing sql backend. -derek Perry Smith <[EMAI

Re: set_log_level

2004-07-15 Thread Derek Atkins
You modify the table in src/engine/gnc-trace.c and rebuild the engine, or you call gnc_set_log_level() somewhere in the startup sequence of your module. There is no command-line (or scheme method) to change the log level of a particular module. -derek Perry Smith <[EMAIL PROTECTED]> writes: > H

set_log_level

2004-07-15 Thread Perry Smith
How do I set the log level for a particular module? (I grepped all the gnucash-devel archives and did not find anything.) Thanks, Perry ___ gnucash-devel mailing list [EMAIL PROTECTED] https://lists.gnucash.org/mailman/listinfo/gnucash-devel