kingang1986 / gmmreg

Automatically exported from code.google.com/p/gmmreg
GNU General Public License v3.0
1 stars 0 forks source link

Failed to build C++ version on Mac OS X 10.5 #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download gmmreg from SVN as described in the Source tab
2. cd to gmmreg-read-only
3. Run 'cmake -G Xcode .' (using version 2.6.3)
4. Build with XCode

What is the expected output? What do you see instead?

[  7%] Building C object CMakeFiles/port_ini.dir/port_ini.o
/Users/brian/workspace/gmmreg-read-only/C++/port_ini.c: In function 
‘GetPrivateProfileString’:
/Users/brian/workspace/gmmreg-read-only/C++/port_ini.c:168: error: syntax error 
before ‘isspace’
make[2]: *** [CMakeFiles/port_ini.dir/port_ini.o] Error 1
make[1]: *** [CMakeFiles/port_ini.dir/all] Error 2
make: *** [all] Error 2

The fix is to change port_ini.c (line 168)
FROM: if isspace(*(ep_end-1))
TO: if (isspace(*(ep_end-1)))

Original issue reported on code.google.com by bschlin...@gmail.com on 18 Mar 2009 at 10:36

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Thanks and fixed

Original comment by bing.j...@gmail.com on 31 Oct 2009 at 4:03