PDA

View Full Version : litespeed API for PHP


jailbird
05-24-2005, 03:04 PM
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