-
Notifications
You must be signed in to change notification settings - Fork 156
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
Issue with GCC 4.8 #39
Comments
Hmm, this is strange. Admittedly I haven't tested on older toolchains. Thanks for reporting, I'll look into it in a bit. |
Apologies, had to go out of town for a few days. So looking at it now I honestly don't know why that errors out as the constructor does the exact same thing as your solution. Do you have any ideas? I was thinking that GCC 4.8 might not fully support C++11, but it looks like it does. However, it looks like its |
Not a big issue, since there is an alternative solution. I just wanted to open an issue to make other users aware of this.
Not sure. I can give it a look if you care about supporting |
@amallia It's not a huge priority as I think most people who can use POSIX/Win mmap facilities will have access to the latest compilers. So only spend time on this if you personally care about GCC 4.8 support, I'd say :) |
I had this isse with GCC 4.8 (does not happen with newer compilers).
filename
is just anstd::string
(not a reference)I have solved it using:
The text was updated successfully, but these errors were encountered: