Subject: Re: toolchain/22118: make won't compile with -Wcast-qual -Wstrict-prototypes and more
To: NetBSD Toolchain Technical Discussion List <tech-toolchain@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-toolchain
Date: 07/14/2003 20:26:42
> The only good solutions are to either: (a) fix the API; or (b) ignore
> the compiler warnings; or (c) turn them off using '-fwritable-strings'.

or (d) turn them off with DECONST().

I consider this better, because it becomes possible to turn them off
piecemeal, only where they need to be turned off, without having to
pull the affected code into a separate file to be built with different
flags.

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B