Csound Csound-dev Csound-tekno Search About

[Cs-dev] MSVC build issue

Date2009-12-03 16:00
FromAndy Fillebrown
Subject[Cs-dev] MSVC build issue
AttachmentsNone  None  



Hello again,

I came across an issue including csound.h in msvc9 and tracked it down to the #include <intrin.h> at line 1341, which is within the scope of extern "C" {} and causes compile time errors in ivec.h relating to overloaded C functions.  Moving the #include out of extern "C" {} fixes the problem.

Cheers,
~ andy.f

p.s. Did I get CVS access a few months ago when working on the csound.sourceforge.net page, or is that a separate permission?  ...and if I do have CVS access, should I just commit changes like this or do they need to be reviewed first?




Date2009-12-21 11:02
From"Sigurd Saue"
SubjectRe: [Cs-dev] MSVC build issue
AttachmentsNone  None  

I ran across the same issue with ivec.h using MSVC8, but I can’t see that any change to csound.h has made it into CVS. Are there any drawbacks with the proposed fix from Andy?

 

Sigurd

 

Fra: Andy Fillebrown [mailto:andy@audiosculptures.com]
Sendt: 3. desember 2009 17:00
Til: Csound Dev
Emne: [Cs-dev] MSVC build issue

 




Hello again,

I came across an issue including csound.h in msvc9 and tracked it down to the #include <intrin.h> at line 1341, which is within the scope of extern "C" {} and causes compile time errors in ivec.h relating to overloaded C functions.  Moving the #include out of extern "C" {} fixes the problem.

Cheers,
~ andy.f

p.s. Did I get CVS access a few months ago when working on the csound.sourceforge.net page, or is that a separate permission?  ...and if I do have CVS access, should I just commit changes like this or do they need to be reviewed first?