mirror of
https://github.com/Aorimn/dislocker
synced 2026-06-08 10:24:29 +00:00
8448a5ed5a
The `-Wno-unknown-attributes' clang warning option wasn't supported for all platforms so we now get through the #pragma directive of the preprocessor to tell clang not to consider `-Wunknown-attributes' for the Ruby headers. As this doesn't seem to be known for all versions of clang (at least for version 3.0-6ubuntu3 from Ubuntu 12.04), we also add a pragma for clang not to consider `-Wunknown-pragmas'.