Hello Sebastian On 7 May 2011 18:26, Sebastian <[email protected]> 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. [1] http://old.nabble.com/-patch--fix-c%2B%2B-33558---references-cannot-be-mutable-p30489305.html [2] http://gcc.gnu.org/ml/gcc-patches/2010-01/msg00420.html -- Petr Hluzin _______________________________________________ Simulavr-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/simulavr-devel
