Re: [Vala] Supressing specific warnings
- From: Ildar Mulyukov <ildar users sourceforge net>
- To: vala-list gnome org
- Subject: Re: [Vala] Supressing specific warnings
- Date: Fri, 09 Jul 2010 09:36:11 +0600
On 08.07.2010 20:31:32, Yuvi Panda wrote:
I'm getting warnings about unused functions that I'd like to suppress
- since I'm using GtkBuilder to connect them. However, I don't want to
suppress all warnings and miss out potential bugs. Is there a way to
selectively suppress warnings?
Hi.
This suggestion was (generally) declined last time. See attachment.
Best regards,
--
Ildar Mulyukov, free SW designer/programmer
================================================
email: ildar users sourceforge net
home: http://tuganger.narod.ru/
ALT Linux Sisyphus
================================================
--- Begin Message ---
- From: pancake <pancake youterm com>
- To: vala-list gnome org
- Subject: [Vala] Fwd: supressing warnings
- Date: Sat, 12 Sep 2009 11:06:05 +0200
Begin forwarded message:
From: pancake <pancake youterm com>
Date: September 12, 2009 10:59:34 AM GMT+02:00
To: Ildar Mulyukov <ildar users sourceforge net>
Subject: Re: [Vala] supressing warnings
This is implemented in unix since the very old times, it is called
'grep'
Dropping warnings is not a solution. They are here to *warn* us for
problems we can suffer. Vala should generate correct c99 code with
no warnings if the written vala code is correct.
Most of the warnings usually mean 'if you build this with another
compiler it will do something different, so fix it'
On Sep 8, 2009, at 12:18 PM, Ildar Mulyukov <ildar users sourceforge net
> wrote:
On 01.09.2009 19:49:10, Adam Dingle wrote:
When building any substantial Vala program, gcc outputs lots of
warnings like these as it processes the C code generated by valac:
warning: assignment discards qualifiers from pointer target type
warning: passing argument 1 of ‘foo’ discards qualifiers from po
inter target type
Hi!
As a more general statement, my IMHO.
It's a great thing (that C# standard introduced) the option
-nowarn:WARNLIST
Makes the compiler ignore warnings specified in the comma-
separated list WARNLIST
I'd be happy to see such an option in _any_ compiler. And Valac is
the 1st in the list.
I'll file a feature request for it as soon as I get a faster
internet (say, at the weekend).
Best regards,
--
Ildar Mulyukov, free SW designer/programmer
================================================
email: ildar users sourceforge net
home: http://tuganger.narod.ru/
ALT Linux Sisyphus
================================================
_______________________________________________
Vala-list mailing list
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
_______________________________________________
Vala-list mailing list
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
--- End Message ---
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]