Opened 17 years ago

Closed 15 years ago

Last modified 15 years ago

#2250 closed defect (fixed)

Adding -DUSE_GENERIC_MS_NINT to the WIN64 builds

Reported by: tamas Owned by: tamas
Priority: normal Milestone: 5.0 release
Component: MapServer C Library Version: 5.0
Severity: normal Keywords:
Cc: hobu, jmckenna

Description

When compiling mapserver for the Win64 platform using the default options we get:

error C4235: nonstandard extension used : '_asm' keyword not supported on this architecture

In this case we shuld add -DUSE_GENERIC_MS_NINT by default in nmake.opt as:

!IFDEF WIN64 MS_CFLAGS=$(INCLUDES) $(MS_DEFS) -DWIN32 -D_WIN32 -DUSE_GENERIC_MS_NINT !ELSE MS_CFLAGS=$(INCLUDES) $(MS_DEFS) -DWIN32 -D_WIN32 !ENDIF

Change History (8)

comment:1 by tamas, 17 years ago

Resolution: fixed
Status: newclosed

Applied in trunk r6642

comment:2 by tamas, 15 years ago

Resolution: fixed
Status: closedreopened

this issue also applies to the python builds and mapscriptvars should also be changed accordingly

comment:3 by jmckenna, 15 years ago

Cc: jmckenna added

I imagine I'll be hitting this same issue with phpmapscript x64 build also?

comment:4 by tamas, 15 years ago

Fixed the mapscriptvars issue in r8631

in reply to:  3 comment:5 by tamas, 15 years ago

Replying to jmckenna:

I imagine I'll be hitting this same issue with phpmapscript x64 build also?

I think php is using MS_CFLAGS directly so this have already been addressed earlier

comment:6 by tamas, 15 years ago

added the same to the java builds r8634

comment:7 by tamas, 15 years ago

Resolution: fixed
Status: reopenedclosed

comment:8 by tamas, 15 years ago

Fixed in 5.2 also (r8749 and r8750)

Note: See TracTickets for help on using tickets.