[Cs-dev] Compiler warnings
| Date | 2014-09-10 21:19 |
| From | Andres Cabrera |
| Subject | [Cs-dev] Compiler warnings |
| Attachments | None None |
Hi, After an upgrade, I am getting tons of compiler warnings like:/home/andres/Documents/src/csound-csound6-git/Engine/cs_par_orc_semantic_analysis.c: In function ‘csp_orc_sa_global_read_write_add_list’: /home/andres/Documents/src/csound-csound6-git/Engine/cs_par_orc_semantic_analysis.c:120:19: warning: format not a string literal and no format arguments [-Wformat-security] Str("Invalid NULL parameter set to add to global read, " ^ Should this be fixed? Cheers, Andrés |
| Date | 2014-09-10 21:26 |
| From | Felipe Sateler |
| Subject | Re: [Cs-dev] Compiler warnings |
Alternatively, the format_arg attribute can be specified for Str: https://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html On Wed, Sep 10, 2014 at 5:19 PM, Andres Cabrera |
| Date | 2014-09-10 21:44 |
| From | jpff@cs.bath.ac.uk |
| Subject | Re: [Cs-dev] Compiler warnings |
| Attachments | None |