Skip to content

Instantly share code, notes, and snippets.

@perbu
Created April 5, 2017 09:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save perbu/022c9ffb8ceb82caff88b1ad9697aaf5 to your computer and use it in GitHub Desktop.
Save perbu/022c9ffb8ceb82caff88b1ad9697aaf5 to your computer and use it in GitHub Desktop.
[ 25%] Building CXX object CMakeFiles/diskbuilder.dir/main.cpp.o
In file included from /Users/perbu/git/IncludeOS/diskimagebuild/main.cpp:10:
/Users/perbu/git/IncludeOS/diskimagebuild/filetree.hpp:22:15: warning: default template arguments for a function template are a C++11 extension [-Wc++11-extensions]
template <int Mult = SECT_SIZE>
^ ~~~~~~~~~
/Users/perbu/git/IncludeOS/diskimagebuild/filetree.hpp:54:10: error: no member named 'emplace_back' in 'std::__1::vector<Dir, std::__1::allocator<Dir> >'
subs.emplace_back(path);
~~~~ ^
/Users/perbu/git/IncludeOS/diskimagebuild/filetree.hpp:59:11: error: no member named 'emplace_back' in 'std::__1::vector<File, std::__1::allocator<File> >'
files.emplace_back(path);
~~~~~ ^
/Users/perbu/git/IncludeOS/diskimagebuild/filetree.hpp:94:8: error: function definition does not declare parameters
Dir root {""};
^
1 warning and 3 errors generated.
make[5]: *** [CMakeFiles/diskbuilder.dir/main.cpp.o] Error 1
make[4]: *** [CMakeFiles/diskbuilder.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [diskbuilder-prefix/src/diskbuilder-stamp/diskbuilder-build] Error 2
make[1]: *** [CMakeFiles/diskbuilder.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment