Opened 13 years ago

Closed 13 years ago

#3714 closed defect (fixed)

PHP windows build

Reported by: assefa Owned by: mapserverbugs
Priority: normal Milestone:
Component: MapScript-PHP Version: unspecified
Severity: normal Keywords: windows build
Cc: jmckenna, aboudreault

Description

Right now php mapscript does not build on windows because of definition of variables in the middle of the block instead of begging of the block. I think doing that is not valid in C in general, and for sure It has never been possible to build it on windows like that. I will attach a patch that I have been using for a while now but It need to be committed for 6.0

Attachments (1)

bug_3714.patch (13.0 KB ) - added by assefa 13 years ago.

Download all attachments as: .zip

Change History (7)

by assefa, 13 years ago

Attachment: bug_3714.patch added

comment:1 by assefa, 13 years ago

Cc: jmckenna added

comment:2 by assefa, 13 years ago

Jeff I took the liberty to add you regarding this and windows build.

comment:3 by jmckenna, 13 years ago

Works! I'm able to generate a map image with beta1 through PHPmapscript. thanks!

comment:4 by assefa, 13 years ago

Cc: aboudreault added

Allan, do you see any issues on me committing this so we can have it for next beta?

comment:5 by aboudreault, 13 years ago

It looks fine to me. thanks.

comment:6 by assefa, 13 years ago

Resolution: fixed
Status: newclosed

thx. committed in r11141.

Note: See TracTickets for help on using tickets.