[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compilation problem with base64.c
From: |
Micah Cowan |
Subject: |
Re: Compilation problem with base64.c |
Date: |
Tue, 30 Oct 2007 14:25:08 -0700 |
User-agent: |
Thunderbird 1.5.0.13 (X11/20070824) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Guy Rutenberg wrote:
> Since what version of GCC is the restricted keyword available? I've
> tried compiling the code with gcc ( 4.1.2) and it doesn't recognized
> this keyword. Compiling using gcc instead of g++ solved all compilation
> errors except the restrict (which I guess is solved by using the
> automake code provided).
Since way before 4.1.2, at any rate. Probably sometime in 3.x.
Sorry, I should've mentioned: "restrict" is new to C as of C99, so gcc
needs to be invoked in a mode that accepts C99 code (-std=c99 or
- -std=gnu99); or else the restrict needs to be defined away.
- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHJ6Ez7M8hyUobTrERCHGjAJ9855hzS6sxr8+ju4umChVAAfewpwCeNzo7
hDgld8X/EdJZbGr0e3UBfnE=
=BXEi
-----END PGP SIGNATURE-----