Project

General

Profile

Bug #14872

Compile failure - mswin build as of 63768

Added by MSP-Greg (Greg L) 10 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.6.0dev (2018-06-27 trunk 63768) [x64-mingw32]
[ruby-core:87659]

Description

normalperson (Eric Wong)

The mswin build on 63768 had the following error:

compiling ../process.c
process.c
../process.c(919) : error C2146: syntax error : missing ')' before identifier 'ret'
../process.c(919) : error C2081: 'pid_t' : name in formal parameter list illegal
../process.c(919) : error C2061: syntax error : identifier 'ret'
../process.c(919) : error C2059: syntax error : ';'
../process.c(919) : error C2059: syntax error : ')'
../process.c(920) : error C2449: found '{' at file scope (missing function header?)
../process.c(924) : error C2059: syntax error : '}'
../process.c(963) : error C2146: syntax error : missing ')' before identifier 'pid'
../process.c(963) : error C2081: 'pid_t' : name in formal parameter list illegal
../process.c(963) : error C2061: syntax error : identifier 'pid'
../process.c(963) : error C2059: syntax error : ';'
../process.c(963) : error C2059: syntax error : ','
../process.c(963) : error C2059: syntax error : ')'
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\cl.EXE"' : return code '0x2'
Stop.
Command exited with code 2

Thanks, Greg

Associated revisions

Revision 63770
Added by nobu (Nobuyoshi Nakada) 10 months ago

use rb_pid_t instead of pid_t

History

#1

Updated by nobu (Nobuyoshi Nakada) 10 months ago

  • Backport changed from 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN to 2.3: DONTNEED, 2.4: DONTNEED, 2.5: DONTNEED
  • Status changed from Open to Closed

Also available in: Atom PDF