modification to allow -Wcast-qual to find potential warnings without unicode.h causing them

2007-03-08 Thread Andrew Talbot
Assuming it is valid and does what is required, maybe the following pragma would be more precise. #pragma GCC diagnostic warning -Wwrite-strings -- Andy.

Re: modification to allow -Wcast-qual to find potential warnings without unicode.h causing them

2007-03-08 Thread Andrew Talbot
Of course, what I should have written was: Assuming it is valid and does what is required, maybe the following pragma would be more precise. #pragma GCC diagnostic ignored -Wcast-qual Sorry. I did too much cutting and pasting, and not enough thinking. -- Andy.

Re: modification to allow -Wcast-qual to find potential warnings without unicode.h causing them

2007-03-08 Thread Andrew Talbot
Mike Schaadt wrote: I attempted using the suggested '#pragma GCC diagnostic ignored -Wcast-qual' in replace of what I submited, however I received the warning 'ignoring #pragma GCC diagnostic' message, plus the normal warnings from unicode.h My guess is that I might be using an older