diff --git a/pd/bq/bq_cont.C b/pd/bq/bq_cont.C index 3d5fbed..73bee26 100644 --- a/pd/bq/bq_cont.C +++ b/pd/bq/bq_cont.C @@ -65,7 +65,7 @@ unsigned int bq_spec_reserve() throw() { #if \ __gcc_version_current >= __gcc_version(3, 3, 0) && \ - __gcc_version_current < __gcc_version(4, 7, 0) && \ + __gcc_version_current < __gcc_version(4, 8, 0) && \ !defined(__arm__) struct __cxa_eh_globals { diff --git a/pd/bq/bq_cont_supp.S b/pd/bq/bq_cont_supp.S index 0d5a165..eb1baac 100644 --- a/pd/bq/bq_cont_supp.S +++ b/pd/bq/bq_cont_supp.S @@ -4,6 +4,10 @@ // This library may be distributed under the terms of the GNU LGPL 2.1. // See the file ‘COPYING’ or ‘http://www.gnu.org/licenses/lgpl-2.1.html’. +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif + .file "bq_cont_supp.S" #if defined(__i386__) diff --git a/test/bq/align.C b/test/bq/align.C index 376c979..df9e188 100644 --- a/test/bq/align.C +++ b/test/bq/align.C @@ -32,6 +32,7 @@ bq_spec_decl(int, sp2); char md[16]; +#pragma GCC diagnostic ignored "-Wuninitialized" void job(void *) { int k; char local_md[16]; @@ -40,6 +41,7 @@ void job(void *) { md[k] ^= local_md[k]; } } +#pragma GCC diagnostic pop bq_cont_count_t cont_count(3);