Forums

Re: MEX Compiler and comments in C

Started by Sergio Dominguez February 20, 2003
Hi all!

I am sending this as it looks like it is not only me. has anyone figured out
how to solve the comments problem with compiling s-functions with mex in linux?

namely:

If comments are written like // it crashes. Comments like /* comment */ compile OK.

Thanks again,

Sergio A las 02:41 del 14 de Feb de 2003, Bing <> dijo:
> Hi, Sergio,
>
> I met same problem. Did you figure it out?
> If you alread got an answer, would you mind to
> let me know.
>
> Thanks in advance!
>
> --
> Bing > ----- Original Message -----
> From: "Sergio Dominguez" <>
> Sent: Friday, December 20, 2002 8:14 AM
> Subject: MEX Compiler and comments in C > > Hi all!
> >
> > I am having problems compiling a c mex file with the lines that have
> comments
> > of the type
> >
> > // comment
> >
> > If they are written like
> >
> > /*comment*/
> >
> > everyting goes OK.
> >
> > I am using gcc as compiler for mex, and compiling in Windows everything
> went
> > fine, does anyone know what can be going on??
> >
> > Thanks,
> >
> > Sergio
> >
> >
> >
> >
>

--
If sex is a pain in the ass, you may be doing it wrong.