Re: [concordance-devel] Build failure with latest CVS

2008-03-31 Thread Stephen Warren
On Sun, March 30, 2008 11:41 pm, Phil Dibowitz wrote: > And again, you missed what I said about declarations not at the top. This > is why we use -ansi -pedantic-errors: > > [EMAIL PROTECTED] tmp]$ gcc -std=c99 foo.c > [EMAIL PROTECTED] tmp]$ gcc -std=c99 -pedantic-errors foo.c > [EMAIL PROTECTED]

Re: [concordance-devel] Build failure with latest CVS

2008-03-31 Thread Phil Dibowitz
Stephen Warren wrote: > On Sun, March 30, 2008 11:41 pm, Phil Dibowitz wrote: >> And again, you missed what I said about declarations not at the top. This >> is why we use -ansi -pedantic-errors: >> >> [EMAIL PROTECTED] tmp]$ gcc -std=c99 foo.c >> [EMAIL PROTECTED] tmp]$ gcc -std=c99 -pedantic-erro

Re: [concordance-devel] Build failure with latest CVS

2008-03-31 Thread Stephen Warren
On Mon, March 31, 2008 11:38 am, Phil Dibowitz wrote: > Stephen Warren wrote: >> On Sun, March 30, 2008 11:41 pm, Phil Dibowitz wrote: >>> And again, you missed what I said about declarations not at the top. >>> This >>> is why we use -ansi -pedantic-errors: >>> >>> [EMAIL PROTECTED] tmp]$ gcc -std

Re: [concordance-devel] For comments: Draft for revision of Learn_IR API

2008-03-31 Thread Andreas Schulz
Well, thanks for your precious time... Seems like all this 'Harmony vs. Concordance', 'LINUX vs. Windows' and 'ANSI vs. C99' stuff has settled enough to try and merge my other two patches, so here just a few short notes to your comments: On Monday 31 March 2008, Phil Dibowitz wrote: > OK, I spen

Re: [concordance-devel] Build failure with latest CVS

2008-03-31 Thread Phil Dibowitz
Stephen Warren wrote: > * It certainly won't remove the warning about strdup not being prototyped > (that's due to -ansi), which is a warning for me, but I believe an error > on gcc-4.3 (hence why I submitted the patch for libconcord to add a bunch > of headers to help packaging libconcord on Fedo

Re: [concordance-devel] Build failure with latest CVS

2008-03-31 Thread Phil Dibowitz
Stephen Warren wrote: > * It certainly won't remove the warning about strdup not being prototyped > (that's due to -ansi), which is a warning for me, but I believe an error > on gcc-4.3 (hence why I submitted the patch for libconcord to add a bunch > of headers to help packaging libconcord on Fedor

Re: [concordance-devel] Firmware Upgrade 525

2008-03-31 Thread Phil Dibowitz
Stefan Arndt wrote: > Hello, > > I reversed the former patch and patched with the new one. OK, I see the problem (or at least *a* problem). Looking back at the USB logs, we need to write a 0, not a 1 to address 20. I've committed a fix to CVS, reverse the patch, cvs update, and try again. --

Re: [concordance-devel] Firmware Upgrade 525

2008-03-31 Thread Stefan Arndt
Hello, got the files all new from cvs. Furthermore only 2 of my three usb ports on my laptop work. If the remote is attached to one of them, concordance did not find the remote. localhost:/home/arndt/Documents/concordance # concordance -F firmware.EZUp Concordance 0.13+CVS Copyright 2007 Kevin T

Re: [concordance-devel] Firmware Upgrade 525

2008-03-31 Thread Phil Dibowitz
Stefan Arndt wrote: > Hello, > > got the files all new from cvs. > > Furthermore only 2 of my three usb ports on my > laptop work. If the remote is attached to one of them, concordance > did not find the remote. Well, then make sure you're always using a good one! > DEBUG (HID_ReadReport): Fail

Re: [concordance-devel] Build failure with latest CVS

2008-03-31 Thread Stephen Warren
Yes, switching from -pedantic-errors to -pedantic switches the varargs error to a warning. Note that the error/warning is pretty clear; varargs macros only exist in C99 plus, so if we're claiming to have C89 source via -ansi, we can't use them. Build logs: # Fedora 8, gcc 4.1.2: gcc (GCC) 4.1.2

Re: [concordance-devel] Firmware Upgrade 525

2008-03-31 Thread Stefan Arndt
Hello, well, it is getting better. But only sort of... It looks like it does not really writes the firmware. It is still 2.1 localhost:/home/arndt/Documents # concordance -F LatestFirmware\(3\).EZUp Concordance 0.13+CVS Copyright 2007 Kevin Timmerman and Phil Dibowitz This software is distribu

Re: [concordance-devel] Build failure with latest CVS

2008-03-31 Thread Stephen Warren
Phil Dibowitz wrote: > Stephen Warren wrote: >> * It certainly won't remove the warning about strdup not being prototyped >> (that's due to -ansi), which is a warning for me, but I believe an error >> on gcc-4.3 (hence why I submitted the patch for libconcord to add a bunch >> of headers to help pa

[concordance-devel] strdup replacement

2008-03-31 Thread Stephen Warren
Phil Dibowitz wrote: > Update of /cvsroot/concordance/concordance/concordance > In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv28807 > > Modified Files: > concordance.c > Log Message: > Get rid of that silly strdup() warning. Just FYI, it looks like, on Linux at least, if you define

Re: [concordance-devel] Build failure with latest CVS

2008-03-31 Thread Phil Dibowitz
Stephen Warren wrote: > Phil Dibowitz wrote: >> Stephen Warren wrote: >>> * It certainly won't remove the warning about strdup not being prototyped >>> (that's due to -ansi), which is a warning for me, but I believe an error >>> on gcc-4.3 (hence why I submitted the patch for libconcord to add a bu

Re: [concordance-devel] Build failure with latest CVS

2008-03-31 Thread Stephen Warren
Phil Dibowitz wrote: > Stephen Warren wrote: >> It appears there is a gcc option -Wno-variadic-macros. > > I'm cool with that - though I would like to confirm the current source does > in fact build in windows before I nuke the warning Hmm. MSDN says Visual C++ 2005 does, but that means Visua

Re: [concordance-devel] strdup replacement

2008-03-31 Thread Phil Dibowitz
Stephen Warren wrote: > Phil Dibowitz wrote: >> Update of /cvsroot/concordance/concordance/concordance >> In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv28807 >> >> Modified Files: >> concordance.c >> Log Message: >> Get rid of that silly strdup() warning. > > Just FYI, it looks like,

Re: [concordance-devel] Build failure with latest CVS

2008-03-31 Thread Phil Dibowitz
Stephen Warren wrote: > Phil Dibowitz wrote: >> Stephen Warren wrote: >>> * It certainly won't remove the warning about strdup not being prototyped >>> (that's due to -ansi), which is a warning for me, but I believe an error >>> on gcc-4.3 (hence why I submitted the patch for libconcord to add a bu

Re: [concordance-devel] Firmware Upgrade 525

2008-03-31 Thread Phil Dibowitz
Stefan Arndt wrote: > Hello, > > well, it is getting better. > > But only sort of... Yeah, I didn't expect that'd lead to much good. Can you send me the firmware file you're using? I'm at a bit of a loss at this point... -- Phil Dibowitz [EMAIL PROTECTED] Open Sour

Re: [concordance-devel] Build failure with latest CVS

2008-03-31 Thread Stephen Warren
Phil Dibowitz wrote: > It's so weird I don't get the same behavior... > [variadic macros error from gcc] Yes indeed. I installed a Debian sid chroot on my Fedora 8 system using the debootstrap utility, and installed the gcc-4.3 and g++-4.3 packages using aptitude (Debian seems crazy fast download