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

Fix compilation of json_unit with GCC 5 #59

Merged
merged 1 commit into from
Apr 15, 2015
Merged

Fix compilation of json_unit with GCC 5 #59

merged 1 commit into from
Apr 15, 2015

Commits on Apr 14, 2015

  1. Fix compilation of json_unit with GCC 5

    Addressing:
    ```
    + make json_unit
    g++ -std=c++11  -Wall -Wextra -pedantic -Weffc++ -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Wdisabled-optimization -Wformat=2 -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wold-style-cast -Woverloaded-virtual -Wredundant-decls -Wshadow -Wsign-conversion -Wsign-promo -Wstrict-overflow=5 -Wswitch -Wundef -Wno-unused -Wnon-virtual-dtor -Wreorder -Wdeprecated -Wfloat-equal  -I src -I test -Dprivate=public test/unit.cpp  -o json_unit
    In file included from test/catch.hpp:65:0,
                     from test/unit.cpp:11:
    /usr/include/c++/5.0.0/sstream:300:7: error: 'struct std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::__xfer_bufptrs' redeclared with different access
           struct __xfer_bufptrs
    ```
    Daniel Kopecek committed Apr 14, 2015
    Configuration menu
    Copy the full SHA
    ad6ad4a View commit details
    Browse the repository at this point in the history