Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pragma related warnings when compiling with older gcc versions #396

Closed
brycelelbach opened this issue Jul 10, 2012 · 1 comment

Comments

Projects
None yet
1 participant
@brycelelbach
Copy link
Member

commented Jul 10, 2012

[reported by maciek] [Trac time Tue Apr 24 16:19:41 2012] GCC versions below 4.7 generate warnings when compiling HPX. Sample below:

Building CXX object src/CMakeFiles/hpx_serialization.dir/util/portable_binary_oarchive.cpp.o
/home/maciek/Projects/parallex/trunk/hpx/src/util/portable_binary_oarchive.cpp:84:24: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’ [-Wpragmas]
/home/maciek/Projects/parallex/trunk/hpx/src/util/portable_binary_oarchive.cpp:108:24: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’ [-Wpragmas]
In file included from /home/maciek/Projects/parallex/trunk/hpx/src/util/portable_binary_iarchive.cpp:44:0:
/home/maciek/Projects/parallex/trunk/hpx/hpx/util/portable_binary_iarchive.hpp:136:24: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’ [-Wpragmas]
/home/maciek/Projects/parallex/trunk/hpx/hpx/util/portable_binary_iarchive.hpp:147:24: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’ [-Wpragmas]
/home/maciek/Projects/parallex/trunk/hpx/src/util/portable_binary_iarchive.cpp:103:24: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’ [-Wpragmas]
/home/maciek/Projects/parallex/trunk/hpx/src/util/portable_binary_iarchive.cpp:143:24: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’ [-Wpragmas]
@brycelelbach

This comment has been minimized.

Copy link
Member Author

commented Jul 10, 2012

[comment by maciek] [Trac time Thu Apr 26 17:04:42 2012] Fixed in 0969e55.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.