Created
September 2, 2011 22:36
-
-
Save gzmask/1190114 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
corwin:naclray1 ray$ ./scons | |
scons: Reading SConscript files ... | |
scons: done reading SConscript files. | |
scons: Building targets ... | |
/Users/ray/projects/native_client_sdk_0_5_1052/toolchain/mac_x86/bin/nacl-g++ -o dbg_x86_32/naclray1.o -c -std=gnu++98 -Wno-long-long -Wall -Wswitch-enum -pthread -O0 -g -m32 -D_GNU_SOURCE=1 -D__STDC_FORMAT_MACROS=1 -D_BSD_SOURCE=1 -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=600 naclray1.cc | |
naclray1.cc: In member function 'virtual void Naclray1Instance::HandleMessage(const pp::Var&)': | |
naclray1.cc:59: error: 'FileIO' is not a member of 'pp' | |
naclray1.cc:59: error: expected ';' before 'file1' | |
scons: *** [dbg_x86_32/naclray1.o] Error 1 | |
scons: building terminated because of errors. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
virtual void HandleMessage(const pp::Var& var_message) { | |
// TODO(sdk_user): 1. Make this function handle the incoming message. | |
pp::FileIO file1; | |
pp::Var replyString = pp::Var("nacl"); | |
PostMessage(replyString); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment