-----Messaggio Originale----- Da: "Patrick Mast, xHarbour." <patrick.m...@xharbour.com> A: "Enrico Maria Giordano" <e.m.giord...@emagsoftware.it> Cc: "xHarbour Developers Mailing List" <xharbour-developers@lists.sourceforge.net> Data invio: domenica 7 giugno 2009 11.47 Oggetto: Re: [xHarbour-developers] Errors
> Hello Enrico, > > Additional info: this error occurs in Borland. > Works OK in MSVC and PellesC. Borland error is correct because a declaration in C is only allowed at the start of a block. Probably PellesC is compiling in C++ mode where a declaration is allowed anywhere. I don't know if the latest revision of standard C language has changed this, though. EMG -- EMAG Software Homepage: http://www.emagsoftware.it The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum The Best of Spectrum Games: http://www.emagsoftware.it/tbosg The EMG Music page: http://www.emagsoftware.it/emgmusic ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers