- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a compilation issue with "GCC diagnostic push" on gcc-4.5
How can I make it work to ignore compilation flags on #include directives on gcc-4.5, like it is done on further gcc versions with push/pop?
This is how I done it in gcc-4.8.1:
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wextra"
#include "dependency_header.h"
#pragma GCC diagnostic pop
- Tags:
- CC++
- Development Tools
- Intel® C++ Compiler
- Intel® Parallel Studio XE
- Intel® System Studio
- Optimization
- Parallel Computing
- Vectorization
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Daniel,
What version of Intel compiler are you using? it's possible to provide a test case?
Thanks,
Viet
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page