[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Simulavr-devel] compiler errors

From: Petr Hluzín
Subject: Re: [Simulavr-devel] compiler errors
Date: Sat, 7 May 2011 23:46:06 +0200

Hello Sebastian

On 7 May 2011 18:26, Sebastian <address@hidden> wrote:
> Hi,
> When compiling simulavr with gcc 4.6, I get some errors.
> The first one (NULL undefined) was easy to fix.
>        #include <cstddef>
> in pin.h

You are right.
Personally, I would like it added in some kind of
include-the-boring-stuff.h header.

> The second one isn't that easy:
>        In file included from cmd/main.cpp:56:0:
>        ./specialmem.h:69:27: error: reference ‘is’
>        cannot be declared ‘mutable’ [-fpermissive]

The error message raises question: why the reference cannot be declared mutable?

By looking at the patch in gcc [1][2] it seems the message should be
./specialmem.h:69:27: error: reference ‘is’: references cannot be
declared `mutable'

So this changes are good to me. I will try to commit them.


Petr Hluzin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]