[alsa-devel] [PATCH] ALSA: echoaudio: Use standard C definitions of true and false

Takashi Iwai tiwai at suse.de
Mon Aug 10 14:29:24 CEST 2015


On Mon, 10 Aug 2015 14:02:53 +0200,
Mark Brown wrote:
> 
> The echoaudio locally defines TRUE and FALSE.  Not only is this
> redundant given that C now has a boolean type it results in lots of
> warnings as other headers also define these macros, causing duplicate
> definitions.  Fix this by removing the local defines and converting all
> local users to use the standard C true and false instead, simply
> removing the macros is less safe due to implicit inclusion of the other
> definitons.
> 
> Signed-off-by: Mark Brown <broonie at kernel.org>

Well, there were leftover FALSE's that broke the compilation.
I applied the patch with the manual fix now.


thanks,

Takashi


More information about the Alsa-devel mailing list