Compile problem (syntax error) ports/x11-wm/fvwm2-devel
Parv
parv at pair.com
Mon Oct 31 04:06:40 PST 2005
in message <20051031114428.GA30438 at holestein.holy.cow>,
wrote Parv thusly...
>
> Trying a shot in the dark based on that 4.11 has 2.9x gcc & 5.4 has
> 3.4 AND old C requirement that a variable must be declared before
> assignment (which may be total waste of time) ...
Never mind. After installing GCC 2.95, i tried myself & greeted w/ "1
2 3"; so much for that.
- Parv
> #include <stdio.h>
> int main()
> { int i;
> for (i = 0; i < 3 ; i++)
> { int q = i + 1; printf( "%d " , q); }
> return 0;
> }
--
More information about the freebsd-ports
mailing list