View Single Post
  #1  
Old 05-24-2005, 03:04 PM
jailbird jailbird is offline
Member
 
Join Date: Oct 2004
Posts: 23
Default 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.
Reply With Quote