[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [gnupic] Anyone got C30 3.01 working on GNU/Linux?
From: Chris Emerson ####@####.#### Date: 18 Jul 2007 09:11:43 +0100 Message-Id: <20070718081141.GA3377@limo.blackcatnetworks.co.uk> On Wed, Jul 18, 2007 at 02:57:50PM +0930, John Steele Scott wrote: > Has anyone got a native GNU/Linux build of the newer versions (3.00 or 3.01) > of the C30 compiler that works? > > I've updated my previous set of patches and can get it to build, but it > refuses to compile anything, complaining about syntax errors. For even a > simple file containing only: > > int sum(int x, int y) > { > return x + y; > } > > I get "error: syntax error before '+' token". What command line did you use to compile that? My first guess would be that you're running something other than the C compiler. Alternatively, a non-standard macro named "sum" could give that sort of error. Was there a line number? Cheers, Chris | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |