Skip to content

Compilation fixes GCC 5.x on Linux 64 bit#2

Open
sehe wants to merge 4 commits intomeierue:masterfrom
sehe:master
Open

Compilation fixes GCC 5.x on Linux 64 bit#2
sehe wants to merge 4 commits intomeierue:masterfrom
sehe:master

Conversation

@sehe
Copy link
Copy Markdown

@sehe sehe commented Dec 17, 2015

A number of fixes were require to make the code compile¹

For reference: http://stackoverflow.com/a/34330252/85371

¹ currently fails to link for me, probably due to changes in the netcdf library; I had to install libnetcdf-cxx-legacy-dev to get the netcdfcpp.h header

sehe added 4 commits December 17, 2015 10:16
ADL doesn't apply to invocations
Also ordered before use
The true issue is blanket `using` directives. It doesn't get much more
inviting to ambiguities than what is found in src/Helpers.hpp:

    using namespace std;
    using namespace boost;
    using namespace boost::assign;
    using namespace boost::posix_time;
    using namespace boost::gregorian;

This is just the cheap compilation fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant