FROM : Cameron Hayne
DATE : Tue Jan 21 19:48:07 2003
On 21/1/03 3:59 am, "Fabien Roy" <<email_removed>> wrote:
> I am trying to port "sapdb" to OS X and I am hitting a road block on
> configure:
> on OS X with gcc 3 sizeof(bool) is 4 and configure was expecting 1.
Whoever wrote this program apparently thought it was okay to make
unwarranted assumptions - does the project web page only work with Internet
Explorer? :-)
So if you want to port it, it seems to me you have to fix two things:
1) define your own boolean type (e.g. typedef char MyBool;) and globally
replace "bool" with "MyBool". The compile & see what breaks.
2) fix the configure script
There's probably a better way of doing this using the configure facilities.
--
Cameron Hayne (<email_removed>)
Hayne of Tintagel
DATE : Tue Jan 21 19:48:07 2003
On 21/1/03 3:59 am, "Fabien Roy" <<email_removed>> wrote:
> I am trying to port "sapdb" to OS X and I am hitting a road block on
> configure:
> on OS X with gcc 3 sizeof(bool) is 4 and configure was expecting 1.
Whoever wrote this program apparently thought it was okay to make
unwarranted assumptions - does the project web page only work with Internet
Explorer? :-)
So if you want to port it, it seems to me you have to fix two things:
1) define your own boolean type (e.g. typedef char MyBool;) and globally
replace "bool" with "MyBool". The compile & see what breaks.
2) fix the configure script
There's probably a better way of doing this using the configure facilities.
--
Cameron Hayne (<email_removed>)
Hayne of Tintagel
| Related mails | Author | Date |
|---|---|---|
| Fabien Roy | Jan 21, 01:00 | |
| Bob Ippolito | Jan 21, 06:37 | |
| Jeremy Erwin | Jan 21, 10:29 | |
| Cameron Hayne | Jan 21, 19:48 |






Cocoa mail archive

