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

Metashell fails on first include statement #14

Closed
daixtrose opened this issue Sep 4, 2016 · 4 comments
Closed

Metashell fails on first include statement #14

daixtrose opened this issue Sep 4, 2016 · 4 comments

Comments

@daixtrose
Copy link

Using this configuration I obtain:

> #include <fatal/lesson/lesson.h>                                                                                                    
In file included from <stdin>:1:
In file included from /usr/local/share/metashell/include/fatal_a341e039dc3fd99e331ca8a02e7edbc87d751cb1/fatal/lesson/lesson.h:13:
In file included from /usr/local/share/metashell/include/fatal_a341e039dc3fd99e331ca8a02e7edbc87d751cb1/fatal/test/test.h:14:
In file included from /usr/local/share/metashell/include/fatal_a341e039dc3fd99e331ca8a02e7edbc87d751cb1/fatal/test/string.h:13:
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/stdexcept:39:
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/string:52:
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/basic_string.h:2815:
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/ext/string_conversions.h:43:
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/cstdio:120:11: fatal error: no member named 'gets' in the global namespa
ce
  using ::gets;
        ~~^
1 error generated.
@r0mai
Copy link

r0mai commented Sep 4, 2016

This is not fatal specific, including cstdoi doesn't work on metashell.org in C++14 mode in general. Opened an issue in metashell: metashell/metashell#136

Thanks for noticing!

@juchem
Copy link
Contributor

juchem commented Sep 6, 2016

Not a fatal bug.

@juchem juchem closed this as completed Sep 6, 2016
@r0mai
Copy link

r0mai commented Sep 17, 2016

FYI: this is fixed in the online metashell demo now

@daixtrose
Copy link
Author

I love the dual meaning of not a "fatal" bug.

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

No branches or pull requests

3 participants