Opened 4 years ago

Closed 3 years ago

#4531 closed enhancement (fixed)

Support Visual Studio 2015

Reported by: baandersson Owned by: Iakov Nakhimovski
Priority: major Milestone: Future
Component: FMILibrary Version: trunk
Keywords: Cc:

Description

A user reported that the build of FMIL failed using VS 2015, 2015-aug-18.

Report from user:

However, this file does not play well with VS2015:
 
1>------ Build started: Project: c99snprintf, Configuration: Release x64 ------
1>  snprintf.c
1>C:\Program Files (x86)\Windows Kits\10\include\10.0.10150.0\ucrt\stdio.h(1419): warning C4005: 'vsnprintf': macro redefinition
1>  C:\Program Files (x86)\Windows Kits\10\include\10.0.10150.0\ucrt\stdio.h(1419): note: command-line arguments:  see previous definition of 'vsnprintf'
1>C:\Program Files (x86)\Windows Kits\10\include\10.0.10150.0\ucrt\stdio.h(1421): fatal error C1189: #error:  Macro definition of vsnprintf conflicts with Standard Library function declaration
 
 
Seems that there are changes in VS2015 that prohibits this macro definition.
 
Related problem and solution described here:
 
http://www.juce.com/forum/topic/vs2015-community-rc-project-problem
 
By using:
 
#if _MSC_VER < 1900 

Change History (1)

comment:1 Changed 3 years ago by efredriksson

Resolution: fixed
Status: newclosed

This was fixed by solving #5277.

Note: See TracTickets for help on using tickets.