Giter VIP home page Giter VIP logo

nacl-nxengine's People

Contributors

binji avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

nacl-nxengine's Issues

Build Error on AWS VM

Playing around with my Chromebook and trying to figure out how to port a C project to NaCl in the first place, ran into an error when trying to compile with Canary (31?)

[308/886] CC out/x86_32/debug/src/main.o
FAILED: out/nacl_sdk/pepper_canary/toolchain/linux_x86_newlib/bin/i686-nacl-g++ -Iout/nacl_sdk/pepper_canary/include -Ithird_party/include -Ithird_par
ty/include/SDL -Wall -Werror -Wno-comment -Wno-missing-braces -Wno-multichar -Wno-narrowing -Wno-parentheses -Wno-sign-compare -Wno-switch -Wno-uninit
ialized -Wno-unused -Wno-unused-variable -g -O0 -Wno-delete-non-virtual-dtor -MMD -MF out/x86_32/debug/src/main.o.d -c src/main.cpp -o out/x86_32/debu
g/src/main.o
src/main.cpp: In function ‘void* PSUserCreateInstance(PP_Instance)’:
src/main.cpp:44: error: invalid conversion from ‘int ()(int, const char__)’ to ‘int ()(int, char**)’
src/main.cpp:44: error: initializing argument 2 of ‘void* PSMainCreate(PP_Instance, int ()(int, char**))’
src/main.cpp: In function ‘int my_main(int, const char**)’:
src/main.cpp:205: error: ‘umount’ was not declared in this scope
src/main.cpp:206: error: ‘mount’ was not declared in this scope
cc1plus: warnings being treated as errors
At global scope:
cc1plus: error: unrecognized command line option "-Wno-delete-non-virtual-dtor"
cc1plus: error: unrecognized command line option "-Wno-narrowing"
[308/886] CC out/x86_64/debug/src/main.o
FAILED: out/nacl_sdk/pepper_canary/toolchain/linux_x86_newlib/bin/x86_64-nacl-g++ -Iout/nacl_sdk/pepper_canary/include -Ithird_party/include -Ithird_p
arty/include/SDL -Wall -Werror -Wno-comment -Wno-missing-braces -Wno-multichar -Wno-narrowing -Wno-parentheses -Wno-sign-compare -Wno-switch -Wno-unin
itialized -Wno-unused -Wno-unused-variable -g -O0 -Wno-delete-non-virtual-dtor -MMD -MF out/x86_64/debug/src/main.o.d -c src/main.cpp -o out/x86_64/de
bug/src/main.o
src/main.cpp: In function ‘void* PSUserCreateInstance(PP_Instance)’:
src/main.cpp:44: error: invalid conversion from ‘int (
)(int, const char**)’ to ‘int ()(int, char__)’
src/main.cpp:44: error: initializing argument 2 of ‘void
PSMainCreate(PP_Instance, int ()(int, char__))’
src/main.cpp: In function ‘int my_main(int, const char__)’:
src/main.cpp:205: error: ‘umount’ was not declared in this scope
src/main.cpp:206: error: ‘mount’ was not declared in this scope
cc1plus: warnings being treated as errors
At global scope:
cc1plus: error: unrecognized command line option "-Wno-delete-non-virtual-dtor"
cc1plus: error: unrecognized command line option "-Wno-narrowing"
ninja: build stopped: subcommand failed.
make: *
* [all] Error 1

Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.