Opened 12 years ago

Closed 11 years ago

Last modified 11 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 Changed 12 years ago by tamas

Resolution: fixed
Status: newclosed

Applied in trunk r6642

comment:2 Changed 11 years ago by tamas

Resolution: fixed
Status: closedreopened

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

comment:3 Changed 11 years ago by jmckenna

Cc: jmckenna added

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

comment:4 Changed 11 years ago by tamas

Fixed the mapscriptvars issue in r8631

comment:5 in reply to:  3 Changed 11 years ago by tamas

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 Changed 11 years ago by tamas

added the same to the java builds r8634

comment:7 Changed 11 years ago by tamas

Resolution: fixed
Status: reopenedclosed

comment:8 Changed 11 years ago by tamas

Fixed in 5.2 also (r8749 and r8750)

Note: See TracTickets for help on using tickets.