Skip to content

Instantly share code, notes, and snippets.

@gzmask
Created September 2, 2011 22:36
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 gzmask/1190113 to your computer and use it in GitHub Desktop.
Save gzmask/1190113 to your computer and use it in GitHub Desktop.
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.
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