opensubscriber
   Find in this group all groups
 
Unknown more information…

l : libcdio-devel@gnu.org 31 January 2012 • 10:39AM -0500

Re: [Libcdio-devel] Fix mmc_ll_cmds.c for use with MSVC compilers
by Rocky Bernstein

REPLY TO AUTHOR
 
REPLY TO GROUP




On Mon, Jan 30, 2012 at 9:53 AM, Robert Fuller <hydrologiccycle@gmai...>wrote:

> On Sun, Jan 29, 2012 at 9:24 PM, Rocky Bernstein <rocky@gnu....> wrote:
> > On Sun, Jan 29, 2012 at 12:46 PM, Pete Batard <pbatard@gmai...> wrote:
> >
> >> This one is fairly straightforward, but I'll sent it to the list
> >> nonetheless.
> >>
> >> The issue here is that when not compiling a C++, MSVC compilers do not
> >> accept variables to be defined after code, and the MMC_CMD_SETUP() macro
> >> does define a cdb variable.
> >>
> >
> > Yes, the intention is have all declarations in a come before statements
> as
> > C99 wants. So thanks. It is possible I'll merge this into trunk sooner
> than
> > the rest.
>
> I think you mean C89 or C90.


Yes. Thanks for the correction.


>  C99 added support for inter-mingled
> statements and declarations.  This brings up an important point.  MSVC
> does not support C99 and Microsoft has no stated plans to support it.
> That was one reason I chose not to support MSVC in my own ripper.  I
> was taking advantage of some C99 features and the trade-off of
> removing them to support MSVC was not worth it, for my project.
>
> Rob
>
>

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.