Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / parse error before `*' token

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. parse error before `*' token
#2603
Posted by: 2003-09-06 18:32:36
Hi,
 I am trying to use wxWindows with dev-c++ but never work.
A lot of errors when compile the default project:

Compiler: Default compiler
Building Makefile: "C:ProgrammiDev-CppwxxMakefile.win"
Executing  make clean
rm -f base.o Project1_private.res Project1.exe

g++.exe -c base.cpp -o base.o -I"C:/Programmi/Dev-Cpp/include/c++"  -I"C:/Programmi/Dev-Cpp/include/c++/mingw32"  -I"C:/Programmi/Dev-Cpp/include/c++/backward"  -I"C:/Programmi/Dev-Cpp/include" -fno-rtti -fno-exceptions -fno-pcc-struct-return -fstrict-aliasing -Wall -D__WXMSW__ -D__GNUWIN32__ -D__WIN95__  

In file included from C:/Programmi/Dev-Cpp/include/wx/wxchar.h:102,
                 from C:/Programmi/Dev-Cpp/include/wx/debug.h:18,
                 from C:/Programmi/Dev-Cpp/include/wx/defs.h:396,
                 from C:/Programmi/Dev-Cpp/include/wx/wxprec.h:13,
                 from base.cpp:1:
C:/Programmi/Dev-Cpp/include/wchar.h: In function `int _wremove(const
   wchar_t*)':
C:/Programmi/Dev-Cpp/include/wchar.h:145: parse error before `*' token

C:/Programmi/Dev-Cpp/include/wchar.h: In function `FILE* _wpopen(const
   wchar_t*, const wchar_t*)':
C:/Programmi/Dev-Cpp/include/wchar.h:146: parse error before `void'

C:/Programmi/Dev-Cpp/include/wchar.h:223: non-local function `int _wstat(const
   wchar_t*, _wpopen(const wchar_t*, const wchar_t*)::_stat*)' uses local type
   `_wpopen(const wchar_t*, const wchar_t*)::_stat'

C:/Programmi/Dev-Cpp/include/wchar.h:224: non-local function `int
   _wstati64(const wchar_t*, _wpopen(const wchar_t*, const
   wchar_t*)::_stati64*)' uses local type `_wpopen(const wchar_t*, const
   wchar_t*)::_stati64'

C:/Programmi/Dev-Cpp/include/wx/buffer.h:98: confused by earlier errors, bailing out

make.exe: *** [base.o] Error 1

Execution terminated

PLEASE HELP!!

Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥1,390.00 ·
 
 
¥287.00 ·
 
 
¥410.00 ·
 
 
¥1,380.00 ·
 
 
¥1,080.00 ·
 
 
¥271.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0