litespeed API for PHP

Discussion in 'Install/Configuration' started by jailbird, May 24, 2005.

  1. jailbird

    jailbird New Member

    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.
  2. mistwang

    mistwang LiteSpeed Staff

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

Share This Page