sunkwei / npapi-headers

Automatically exported from code.google.com/p/npapi-headers
0 stars 0 forks source link

'uintptr_t' is used as a type, but is not defined as a type. #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Compiler: Default compiler
Executing  g++.exe...
g++.exe "E:\browser_plugin\plugin_test.cpp" -o 
"E:\browser_plugin\plugin_test.exe"    -I"C:\Dev-Cpp\include\c++\3.3.1"  
-I"C:\Dev-Cpp\include\c++\3.3.1\mingw32"  
-I"C:\Dev-Cpp\include\c++\3.3.1\backward"  
-I"C:\Dev-Cpp\lib\gcc-lib\mingw32\3.3.1\include"  -I"C:\Dev-Cpp\include"   
-L"C:\Dev-Cpp\lib" 
In file included from E:/browser_plugin/plugin_test.cpp:1:
E:/browser_plugin/npapi/npapi.h:524: error: 'uintptr_t' is used as a type, but 
   is not defined as a type.
E:/browser_plugin/npapi/npapi.h:525: error: 'uintptr_t' is used as a type, but 
   is not defined as a type.

Execution terminated

What version of the product are you using? On what operating system?

Windows 7 with dev-c++

Original issue reported on code.google.com by weikt...@gmail.com on 28 Feb 2011 at 12:52

GoogleCodeExporter commented 9 years ago
Sounds like we need to teach nptypes.h about this on Windows where we do all 
the other _t types. Presumably it should be the same as uint32_t or uint64_t, 
depending on WIN64 being defined or not?

Original comment by stuart.morgan on 1 Mar 2011 at 3:37