Csound Csound-dev Csound-tekno Search About

[Cs-dev] jacko.cpp

Date2010-03-08 17:39
Fromjpff
Subject[Cs-dev] jacko.cpp
AttachmentsNone  None  
It just does not build.  
g++ -o Opcodes/jacko.os -c -fexceptions -fno-strict-aliasing -fno-strict-aliasing -fno-strict-aliasing -Wno-format -O3 -mtune=k8 -ftree-vectorize -ffast-math -DGNU_GETTEXT -g -fomit-frame-pointer -freorder-blocks -fPIC -DLINUX -DPIPES -fno-strict-aliasing -fno-strict-aliasing -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA -DUSE_DOUBLE -DHAVE_SOCKETS -DINC_MP3 -DHAVE_PTHREAD_BARRIER_INIT -DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/usr/include/fltk-1.1 -I/usr/local/include -I/usr/include -I/usr/include -I/usr/X11R6/include -I/usr/lib64/jvm/java/include -I/usr/lib64/jvm/java/include/linux Opcodes/jacko.cpp
Opcodes/jacko.cpp: In member function ‘int JackAudioIn::init(CSOUND*)’:
Opcodes/jacko.cpp:389: error: ‘sprintf’ is not a member of ‘std’
Opcodes/jacko.cpp: In member function ‘int JackAudioOut::init(CSOUND*)’:
Opcodes/jacko.cpp:462: error: ‘sprintf’ is not a member of ‘std’
Opcodes/jacko.cpp: In member function ‘int JackMidiOut::init(CSOUND*)’:
Opcodes/jacko.cpp:547: error: ‘sprintf’ is not a member of ‘std’
Opcodes/jacko.cpp: In member function ‘int JackNoteOut::init(CSOUND*)’:
Opcodes/jacko.cpp:659: error: ‘sprintf’ is not a member of ‘std’

This is one of the reasons that I do not like C++ components; the
language it too unstable.  Similar things happen in Perry's stk code
which I cannot build either.

==John ffitch


Date2010-03-08 18:12
FromMichael Gogins
SubjectRe: [Cs-dev] jacko.cpp
I will fix this. The C++ standard is not unstable, I was just not
adhering to it.

You must be aware that huge amounts of highly functional software are
written in C++, including embedded systems in cars and fighter
jets?...

Best,
Mike

On Mon, Mar 8, 2010 at 12:39 PM, jpff  wrote:
> It just does not build.
> g++ -o Opcodes/jacko.os -c -fexceptions -fno-strict-aliasing -fno-strict-aliasing -fno-strict-aliasing -Wno-format -O3 -mtune=k8 -ftree-vectorize -ffast-math -DGNU_GETTEXT -g -fomit-frame-pointer -freorder-blocks -fPIC -DLINUX -DPIPES -fno-strict-aliasing -fno-strict-aliasing -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA -DUSE_DOUBLE -DHAVE_SOCKETS -DINC_MP3 -DHAVE_PTHREAD_BARRIER_INIT -DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/usr/include/fltk-1.1 -I/usr/local/include -I/usr/include -I/usr/include -I/usr/X11R6/include -I/usr/lib64/jvm/java/include -I/usr/lib64/jvm/java/include/linux Opcodes/jacko.cpp
> Opcodes/jacko.cpp: In member function ‘int JackAudioIn::init(CSOUND*)’:
> Opcodes/jacko.cpp:389: error: ‘sprintf’ is not a member of ‘std’
> Opcodes/jacko.cpp: In member function ‘int JackAudioOut::init(CSOUND*)’:
> Opcodes/jacko.cpp:462: error: ‘sprintf’ is not a member of ‘std’
> Opcodes/jacko.cpp: In member function ‘int JackMidiOut::init(CSOUND*)’:
> Opcodes/jacko.cpp:547: error: ‘sprintf’ is not a member of ‘std’
> Opcodes/jacko.cpp: In member function ‘int JackNoteOut::init(CSOUND*)’:
> Opcodes/jacko.cpp:659: error: ‘sprintf’ is not a member of ‘std’
>
> This is one of the reasons that I do not like C++ components; the
> language it too unstable.  Similar things happen in Perry's stk code
> which I cannot build either.
>
> ==John ffitch
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-03-08 18:49
FromRichard Dobson
SubjectRe: [Cs-dev] jacko.cpp
On 08/03/2010 18:12, Michael Gogins wrote:
..
> You must be aware that huge
amounts of highly functional software are
> written in C++, including embedded systems in cars

Toyotas, perhaps?

:-)


Richard Dobson


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-03-08 18:50
FromMichael Gogins
SubjectRe: [Cs-dev] jacko.cpp
That is not an argument, it is rhetoric.

Regards,
Mike

On Mon, Mar 8, 2010 at 1:49 PM, Richard Dobson
 wrote:
> On 08/03/2010 18:12, Michael Gogins wrote:
> ..
>> You must be aware that huge
> amounts of highly functional software are
>> written in C++, including embedded systems in cars
>
> Toyotas, perhaps?
>
> :-)
>
>
> Richard Dobson
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-03-08 19:00
FromRichard Dobson
SubjectRe: [Cs-dev] jacko.cpp
Um, was meant to be neither, but a joke....

(and, speaking Classically, rhetoric ~is~ argument...)
#:-)


Richard Dobson

On 08/03/2010 18:50, Michael Gogins wrote:
> That is not an argument, it is rhetoric.
>
> Regards,
> Mike
>
> On Mon, Mar 8, 2010 at 1:49 PM, Richard Dobson
>   wrote:
>> On 08/03/2010 18:12, Michael Gogins wrote:
>> ..
>>> You must be aware that huge
>> amounts of highly functional software are
>>> written in C++, including embedded systems in cars
>>
>> Toyotas, perhaps?
>>
>> :-)
>>


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-03-08 19:01
FromMichael Gogins
SubjectRe: [Cs-dev] jacko.cpp
Which is perhaps part of why the ancients had no real science, no
decent anesthetics, no germ theory of disease... and no computer
music.

Regards,
Mike

On Mon, Mar 8, 2010 at 2:00 PM, Richard Dobson
 wrote:
> Um, was meant to be neither, but a joke....
>
> (and, speaking Classically, rhetoric ~is~ argument...)
> #:-)
>
>
> Richard Dobson
>
> On 08/03/2010 18:50, Michael Gogins wrote:
>> That is not an argument, it is rhetoric.
>>
>> Regards,
>> Mike
>>
>> On Mon, Mar 8, 2010 at 1:49 PM, Richard Dobson
>>   wrote:
>>> On 08/03/2010 18:12, Michael Gogins wrote:
>>> ..
>>>> You must be aware that huge
>>> amounts of highly functional software are
>>>> written in C++, including embedded systems in cars
>>>
>>> Toyotas, perhaps?
>>>
>>> :-)
>>>
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-03-08 21:49
Fromfons@kokkinizita.net
SubjectRe: [Cs-dev] jacko.cpp
AttachmentsNone  

Date2010-03-10 14:48
Fromjpff
SubjectRe: [Cs-dev] jacko.cpp
>>>>> "fons" == fons   writes:

 fons> I've been using C++ for the last 8 years for *everything*
 fons> that I've ever published, and I've *never* had anything
 fons> similar to the problem you report. Some of my code has
 fons> not been touched for years and it still compiles, at most
 fons> with some warnings resulting from g++ getting more pedantic
 fons> with each release. I don't think the problem is C++.

We have had a series of problems with the C++ components which we have
not had with the C (except C generated by SWIG).  I used to work on
C++ compilation until the standard was changing faster than I could
code.  It make not be the language per se, but its manifestation has
been problematic.  It is also the case that some C++ is wondrously
inefficient.

==John ffitch

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-03-10 15:06
Fromfons@kokkinizita.net
SubjectRe: [Cs-dev] jacko.cpp
AttachmentsNone