Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Csound 4 is not ANSI C89

Date2005-01-30 20:15
FromVictor Lazzarini
SubjectRe: [Cs-dev] Csound 4 is not ANSI C89
Do you use visual c++ to build csound5?

Victor
> 
> Viusual C++ v6 does not support it, and I have now 
checked
> the free download of  Visual C++ 7, and that does not
> support it either (no stdint.h anywhere, nor are  the
> types defined anywhere else). I have yet to try the beta
> of Visual C++ .NET  2005 (demands more space than my 
spare
> machine can supply), but even if that  does support C99
> (and assumning it is not modified or "extended" in some
> way),  many developers are likely to stick to v7, or even
> v6 for some time yet. Indeed,  having found that even the
> V7 optimiser still generates astonishingly  pathological
> instant-crash code for one particular program of mine,
> while the  Intel compiler generates
> correct/efficient/compact code, I am currently rather 
> more likely to upgrade to the Intel compiler than VC vX;
> and that does not  support C99 either as far as I can see!
> 
> So I think we will want to stick to ANSI for the
> forseeable future. At the very  least, given the new
> dependence on plugins, we would want to be sure C99
> modules  can link to C89 ones, and the introduction of new
> types into c99 would seem to  preclude that, except where
> the C99 modules are ANSI compliant anyway.
> 
> 
> 
> Richard Dobson
> 
> 
> 
> Istvan Varga wrote:
> > John D. Ramsdell wrote:
> > 
> >> I noticed that csound/ccsound.c was not ANSI C89, so I
> tried compiling >> the Csound 4 source using GCC with
> -ansi.  I found out there are many >> parts of Csound 4
> that are not ANSI C89.  The file csound/aifc.c >> contains
> multi-byte characters, but worse, csound/csound.h uses C+
+
> >> style one line comments--a C99 feature.  I fixed
> csound/ccsound.c, >> but did not touch anything else.
> > 
> > 
> > Would it be possible to switch to C99, at least in
> > Csound5 ? It has many useful features compared to C89.
> > How many people use compilers that still do not support
> > C99 ? 
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: IntelliVIEW --
> > Interactive Reporting Tool for open source databases.
> > Create drag-&-drop reports. Save time by over 75%!
> > Publish reports on the web. Export to DOC, XLS, RTF,
> etc. Download a FREE copy at
> > http://www.intelliview.com/go/osdn_nl
> > 
_______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> >
> >
> https://lists.sourceforge.net/lists/listinfo/csound-devel 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW --
> Interactive Reporting Tool for open source databases.
> Create drag-&-drop reports. Save time by over 75%! 
Publish
> reports on the web. Export to DOC, XLS, RTF, etc. 
Download
> a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-01-31 02:14
FromRichard Dobson
SubjectRe: [Cs-dev] Csound 4 is not ANSI C89
yes, thanks to your project files; currently trying out the Intel compiler 
plugin to VC as well (until the demo expires in a few weeks!).

Richard Dobson



Victor Lazzarini wrote:

> Do you use visual c++ to build csound5?
> 
> Victor
> 
..



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-01-31 09:28
FromVictor Lazzarini
SubjectRe: [Cs-dev] Csound 4 is not ANSI C89
Please let me know if it's worth getting it.

Victor
At 02:14 31/01/2005, you wrote:
>yes, thanks to your project files; currently trying out the Intel compiler 
>plugin to VC as well (until the demo expires in a few weeks!).
>
>Richard Dobson
>
>
>
>Victor Lazzarini wrote:
>
>>Do you use visual c++ to build csound5?
>>Victor
>..
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
>Tool for open source databases. Create drag-&-drop reports. Save time
>by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
>Download a FREE copy at http://www.intelliview.com/go/osdn_nl
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net