Gecode / gecode

Generic Constraint Development Environment
https://www.gecode.org
Other
283 stars 76 forks source link

Avoid unknown pragma warnings for gcc and clang #88

Closed zayenz closed 4 years ago

zayenz commented 4 years ago

In some cases, we use pragmas to turn off specific warnings for parts of the code. Unfortunately, this in turn makes other compilers warn about unknown pragmas.

This change adds the flag -Wno-unknown-pragmas to gcc and clang to make them ignore prgmas tht they do not know about.