[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sc-devel] windows port broken by patch for gcc string constants



OK, I'm going to read this as "windows port not really broken after
all" until further notice ;)

Phew! Thanks for checking

Dan

2008/1/21, Christopher Frauenberger <frauenberger@xxxxxx>:
> Weird, just updated and compiled without problems here.
>
> Any compiler flags?
>
> Chris
>
> On 21 Jan 2008, at 11:44, Dan Stowell wrote:
>
> > The title was entirely wrong and this is fairly urgent so I'm sending
> > with a suitable title:
> >
> >> Oh sugar. Looks like the patch from Tim Blechmann to update string
> >> constants from "char*" to "const char*" has broken the windows build.
> >> Sorry all.
> >>
> >> Any recommendations on what's best to do? Could try and update the
> >> windows source to match (although I can't test it myself); or revert
> >> the patch; or introduce a platform-dependent macro to define string
> >> constants. Thoughts? I know nothing about how the windows compiler
> >> could/should handle the change.
> >>
> >> Dan
> >>
> >>
> >> 2008/1/21, John Glover <glover.john@xxxxxxxxx>:
> >>> Hi,
> >>>
> >>> Jack is used on Linux but not on windows by default (although
> >>> jackdmp
> >>> may work on windows).
> >>>
> >>> scsynth will not compile for me on windows with the latest source (r
> >>> 7050), I think due to a change in sc_msg_iter.h
> >>>
> >>> I get this error a lot of times for different files:
> >>>
> >>> 1>SC_Graph.cpp
> >>> 1>..\..\SuperCollider3\source\server\SC_Graph.cpp(142) : error
> >>> C2440:
> >>> 'initializing' : cannot convert from 'const char *' to 'char *'
> >>> 1>        Conversion loses qualifiers
> >>> 1>..\..\SuperCollider3\source\server\SC_Graph.cpp(154) : error
> >>> C2440:
> >>> 'initializing' : cannot convert from 'const char *' to 'char *'
> >>>
> >>>
> >>> John
> >>>
> >>> On 21/01/2008, Ross Bencina <rossb-lists@xxxxxxxxxxxxxx> wrote:
> >>>> Hi Olaf
> >>>>
> >>>> I guess that you're using Jack on Windows and Linux? Seems like
> >>>> I overlooked
> >>>> updating SC_Jack.cpp with the fix from r7004. I've checked in
> >>>> the relevant
> >>>> change now. Please confirm if it fixes the problem.
> >>>>
> >>>> Ross
> >>>>
> >>>> ----- Original Message -----
> >>>> From: "olaf hochherz" <hochherz_olaf@xxxxxx>
> >>>> To: <sc-devel@xxxxxxxxxxxxxxx>
> >>>> Sent: Monday, January 21, 2008 2:46 AM
> >>>> Subject: [Sc-devel] bug: server not reachable on linux (revision
> >>>> 7004)
> >>>>
> >>>>
> >>>>> the update of the files
> >>>>>
> >>>>> Source/server/SC_CoreAudio.cpp
> >>>>> Headers/server/SC_CoreAudio.h
> >>>>>
> >>>>> done in revision 7004
> >>>>> makes the server unreachable on linux and windows
> >>>>> could someone debug this?
> >>>>> i wouldn't know what to do.
> >>>>>
> >>>>> thanks
> >>>>> olaf
> >>>>>
> >>>>> _______________________________________________
> >>>>> Sc-devel mailing list
> >>>>> Sc-devel@xxxxxxxxxxxxxxx
> >>>>> http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
> >>>>>
> >>>> _______________________________________________
> >>>> Sc-devel mailing list
> >>>> Sc-devel@xxxxxxxxxxxxxxx
> >>>> http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
> >>>>
> >>> _______________________________________________
> >>> Sc-devel mailing list
> >>> Sc-devel@xxxxxxxxxxxxxxx
> >>> http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
> >>>
> >>
> >>
> >> --
> >> http://www.mcld.co.uk
> >>
> >
> >
> > --
> > http://www.mcld.co.uk
> > _______________________________________________
> > Sc-devel mailing list
> > Sc-devel@xxxxxxxxxxxxxxx
> > http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
>
> _______________________________________________
> Sc-devel mailing list
> Sc-devel@xxxxxxxxxxxxxxx
> http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
>


-- 
http://www.mcld.co.uk