simulavr-devel
[Top][All Lists]
Advanced

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

[Simulavr-devel] [bug #33148] Modifications needed in to compile last si


From: anonymous
Subject: [Simulavr-devel] [bug #33148] Modifications needed in to compile last simulavr
Date: Sat, 23 Apr 2011 15:50:39 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.9.1.18) Gecko/20110324 Iceweasel/3.5.18 (like Firefox/3.5.18)

URL:
  <http://savannah.nongnu.org/bugs/?33148>

                 Summary: Modifications needed in to compile last simulavr
                 Project: Simulavr: an AVR simulator
            Submitted by: None
            Submitted on: Sat 23 Apr 2011 03:50:39 PM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: simulavrxx

    _______________________________________________________

Details:


When I tried to compile the latest simulavr 
(from sources downloaded today via 
git clone git://git.savannah.nongnu.org/simulavr.git
on my "Debian GNU/Linux testing" system)
I've got the following errors:

irqsystem.cpp: In member function 'void HWIrqSystem::DebugDumpTable()':
irqsystem.cpp:294:13: error: 'stderr' was not declared in this scope
irqsystem.cpp:294:84: error: 'fprintf' was not declared in this scope
irqsystem.cpp:300:32: error: must #include <typeinfo> before using typeid

To avoid it, I had to add the following includes to irqsystem.cpp:

#include <iostream>
#include <assert.h>
#include <typeinfo>  // first added line
#include <stdio.h>   // second added line
using namespace std;

Only after that simavr compiled cleanly.





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?33148>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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