This seems to be due to G_GNUC_WARN_UNUSED_RESULT not being available until GTK 2.10 at line 330 in keybindings.c Either remove or #ifndef #define it to nothing
Cheers Lex
2009/8/27 nightly.geany.org eht16@users.sourceforge.net:
Geany GTK 2.8 build test failed at: waf build
See http://nightly.geany.org/misc/build_gtk28_stderr.log for details.
Last error message: ../../gtk28_test/src/build.c:2359: warning: excess elements in scalar initializer ../../gtk28_test/src/build.c:2359: warning: (near initialization for 'default_cmds') ../../gtk28_test/src/build.c:2363: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token ../../gtk28_test/src/build.c:2446: error: old-style parameter declarations in prototyped function definition ../../gtk28_test/src/build.c:2444: error: expected '{' at end of input Build failed -> task failed (err #1): {task: cc build.c -> build_3.o}
http://nightly.geany.org/ _______________________________________________ Geany-commits mailing list Geany-commits@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-commits
On Thu, 27 Aug 2009 14:08:29 +1000 Lex Trotman elextr@gmail.com wrote:
This seems to be due to G_GNUC_WARN_UNUSED_RESULT not being available until GTK 2.10 at line 330 in keybindings.c
Oops, thanks. Hard to work out from the error messages...
Now defined in geany.h if necessary.
Regards, Nick
On Thu, 27 Aug 2009 15:02:52 +0100, Nick wrote:
On Thu, 27 Aug 2009 14:08:29 +1000 Lex Trotman elextr@gmail.com wrote:
This seems to be due to G_GNUC_WARN_UNUSED_RESULT not being available until GTK 2.10 at line 330 in keybindings.c
Oops, thanks. Hard to work out from the error messages...
Well, we can change it... The script sending the error messages just takes the last 8 lines of the error log. IIRC in the case above, the real error message was 9 lines above, so we could increase the included lines but then the next time it's again just line above :). Anyway, if anyone wants to have more error lines included or other improvements, just tell me.
And after all, exactly because of this, each error mail contains a link to quickly see the full error log.
Alternatively, we could attach the error log to the mail itself but I'm not so convinced it's really necessary.
Regards, Enrico
2009/8/29 Enrico Tröger enrico.troeger@uvena.de:
On Thu, 27 Aug 2009 15:02:52 +0100, Nick wrote:
On Thu, 27 Aug 2009 14:08:29 +1000 Lex Trotman elextr@gmail.com wrote:
This seems to be due to G_GNUC_WARN_UNUSED_RESULT not being available until GTK 2.10 at line 330 in keybindings.c
Oops, thanks. Hard to work out from the error messages...
Well, we can change it... The script sending the error messages just takes the last 8 lines of the error log. IIRC in the case above, the real error message was 9 lines above, so we could increase the included lines but then the next time it's again just line above :).
Don't make the email longer!! As you say it will never contain the problem unless all the errors were included.
Anyway, if anyone wants to have more error lines included or other improvements, just tell me.
And after all, exactly because of this, each error mail contains a link to quickly see the full error log.
And in fact thats how I found it, the errors were clearly due to some block problem like a missing brace so I just went to the first error & found it. I only went looking because it showed build.c, but that was just because it was the first to include keybindings.h :-)
Maybe the first few error lines as well as the last few?
Alternatively, we could attach the error log to the mail itself but I'm not so convinced it's really necessary.
No, the link to the details is a good solution
Cheers Lex
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.asc
Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
On Sat, 29 Aug 2009 21:13:36 +1000, Lex wrote:
2009/8/29 Enrico Tröger enrico.troeger@uvena.de:
On Thu, 27 Aug 2009 15:02:52 +0100, Nick wrote:
On Thu, 27 Aug 2009 14:08:29 +1000 Lex Trotman elextr@gmail.com wrote:
This seems to be due to G_GNUC_WARN_UNUSED_RESULT not being available until GTK 2.10 at line 330 in keybindings.c
Oops, thanks. Hard to work out from the error messages...
Well, we can change it... The script sending the error messages just takes the last 8 lines of the error log. IIRC in the case above, the real error message was 9 lines above, so we could increase the included lines but then the next time it's again just line above :).
Don't make the email longer!! As you say it will never contain the problem unless all the errors were included.
Yeah, it's just a super simple shell script, the actual code for the error message pasting is: lastmsgs=$(tail -n 8 /home/enrico/geany/$logfile)
There is absolutely no smartness behind :).
Anyway, if anyone wants to have more error lines included or other improvements, just tell me.
And after all, exactly because of this, each error mail contains a link to quickly see the full error log.
And in fact thats how I found it, the errors were clearly due to some block problem like a missing brace so I just went to the first error & found it. I only went looking because it showed build.c, but that was just because it was the first to include keybindings.h :-)
Maybe the first few error lines as well as the last few?
First 3 and last 6 or 7 messages?
Regards, Enrico
2009/8/30 Enrico Tröger enrico.troeger@uvena.de:
On Sat, 29 Aug 2009 21:13:36 +1000, Lex wrote:
2009/8/29 Enrico Tröger enrico.troeger@uvena.de:
On Thu, 27 Aug 2009 15:02:52 +0100, Nick wrote:
On Thu, 27 Aug 2009 14:08:29 +1000 Lex Trotman elextr@gmail.com wrote:
This seems to be due to G_GNUC_WARN_UNUSED_RESULT not being available until GTK 2.10 at line 330 in keybindings.c
Oops, thanks. Hard to work out from the error messages...
Well, we can change it... The script sending the error messages just takes the last 8 lines of the error log. IIRC in the case above, the real error message was 9 lines above, so we could increase the included lines but then the next time it's again just line above :).
Don't make the email longer!! As you say it will never contain the problem unless all the errors were included.
Yeah, it's just a super simple shell script, the actual code for the error message pasting is: lastmsgs=$(tail -n 8 /home/enrico/geany/$logfile)
There is absolutely no smartness behind :).
Smartness is overrated, especially from computers :-)
Anyway, if anyone wants to have more error lines included or other improvements, just tell me.
And after all, exactly because of this, each error mail contains a link to quickly see the full error log.
And in fact thats how I found it, the errors were clearly due to some block problem like a missing brace so I just went to the first error & found it. I only went looking because it showed build.c, but that was just because it was the first to include keybindings.h :-)
Maybe the first few error lines as well as the last few?
First 3 and last 6 or 7 messages?
Keep it simple, lines not messages, head -n 4 + tail -n 7 should be enough. (head shorter because the offending file is *usually* near the front of a block of errors)
Cheers Lex
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.asc
Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
On Sun, 30 Aug 2009 09:40:29 +1000, Lex wrote:
And in fact thats how I found it, the errors were clearly due to some block problem like a missing brace so I just went to the first error & found it. I only went looking because it showed build.c, but that was just because it was the first to include keybindings.h :-)
Maybe the first few error lines as well as the last few?
First 3 and last 6 or 7 messages?
Keep it simple, lines not messages, head -n 4 + tail -n 7 should be enough. (head shorter because the offending file is *usually* near the front of a block of errors)
Done so.
Regards, Enrico