LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Install/Configuration (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=11)
-   -   litespeed API for PHP (http://www.litespeedtech.com/support/forum/showthread.php?t=185)

jailbird 05-24-2005 03:04 PM

litespeed API for PHP
 
Upon upgrading lsws on my dev box.. I noticed that the litespeed SAPI module seems to require two main gcc 3.x features:

- Anonymous unions
- Declaring variables within a function

Which I know that gcc 2.95.x should be abandoned by now, but seeing as they decided to break SPARC ABI compatibility between 2.95.x -> 3.x, that's not going to happen for me any time soon.

I fixed it on my end (named the union in the header structure and moved the variable declarations), it might want to be documented somewhere that it requires gcc 3.x. I'm not sure how commercial compilers, such as Forte, will work though.

mistwang 05-24-2005 03:17 PM

Thank you for the information, the code had been fixed to work with gcc 2.95.x


All times are GMT -7. The time now is 01:27 AM.