"Guy Rutenberg" <[EMAIL PROTECTED]> writes:
> Hi,
>
> When trying to compile base64.c using g++ I got the following compilation
> problems:
Hi! Thanks for your feedback. However, I looked at your patch, and as
far as I could tell, they were all work arounds for your environment.
Thus, I don't t
Micah Cowan <[EMAIL PROTECTED]> writes:
> If you want to go ahead and continue doing it the way you're doing it,
> you may wish to leave the "restrict" keywords as they appear in the
> original source files, and pass -Drestrict= to g++
This is enough of a hassle in practice that we've fixed the p
Hi,
On Oct 30, 2007 10:27 PM, Micah Cowan <[EMAIL PROTECTED]> wrote:
>
> The "restrict" keyword, as used, is entirely appropriate for C code, as
> it is part of the C language. It is not part of the C++ language (at
> least not yet).
>
> It's a relatively recent addition to the C language, so the
-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 excep
Micah Cowan <[EMAIL PROTECTED]> writes:
> It's a relatively recent addition to the C language, so the restrict
> keyword is #defined to nothing for C compilers that don't support it
> (doesn't apply to modern GCC, which has supported it for a while, but
> _only_ when running as a C compiler).
G+
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Guy Rutenberg wrote:
> When trying to compile base64.c using g++ I got the following
> compilation problems:
Note that base64.c, .h are written in C, not C++. Trying to compile with
g++ makes almost as little sense as trying to compile it as Fortran
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Guy Rutenberg wrote:
> I'm using gcc 4.1.2 on Gentoo. It may well be
Missing the rest of that sentence. :)
> N.B. I'm not subscribed to this list, so please cc back to my email your
> reply.
>Where can I find an email archive of this list?
Hi,
When trying to compile base64.c using g++ I got the following compilation
problems:
$ g++ -c base64.c
base64.c:44:20: error: config.h: No such file or directory
base64.h:34: error: expected ',' or '...' before 'in'
base64.h:39: error: expected ',' or '...' before 'in'
base64.c:67: error: expe