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
Original issue reported on code.google.com by
bschlin...@gmail.com
on 18 Mar 2009 at 10:36