Skip to content

windows x86 with vcc compile error with "asmNoStackFrame" #12298

@slangmgh

Description

@slangmgh

When compile the nim compiler with x86/vcc, it give the error:
D:\Tool\Nim\lib\system\arithm.nim(167, 47) Error: 'asmNoStackFrame' should be: 'asmNoStackframe'

Current Output

D:\Tool\Nim>koch boot -d:release
iteration: 1
compiler\nim0.exe c  --skipUserCfg --skipParentCfg -d:release compiler\nim.nim
D:\Tool\Nim\lib\system\io.nim(663, 26) Hint: conversion from TaintedString to itself is pointless [ConvFromXtoItselfNotNeeded]
D:\Tool\Nim\lib\system\arithm.nim(167, 47) Error: 'asmNoStackFrame' should be: 'asmNoStackframe'
FAILURE

Possible Solution

line "of wAsmNoStackFrame: "asmNoStackframe" in wordrecg.nim should change the asmNoStackframe to asmNoStackFrame.

Additional Information

OS: win10
32bit nim
c compiler: vc2008, vc2013, vc2017

D:\Tool\Nim\tmp>nim -v
Nim Compiler Version 1.0.0 [Windows: i386]
Compiled at 2019-09-28
Copyright (c) 2006-2019 by Andreas Rumpf

active boot switches: -d:release

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions