bugSimulavr: an AVR simulator - Bugs: bug #33148, Modifications needed in to compile...

 
 

bug #33148: Modifications needed in to compile last simulavr

Submitted by:  None
Submitted on:  Sat 23 Apr 2011 03:50:39 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Closed
Component Version: simulavrxx

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 26 Apr 2011 09:29:32 PM UTC, comment #1:

Oh I am sorry about that. It was probably caused by me.

The fix has been committed. Thanks!

By the way: Does anyone know about nightly-build hosting?
It would be nice if there was a way to automatically (after a commit) start build for systems we care for.

Petr Hluzin <petrh>
Project Member
Sat 23 Apr 2011 03:50:39 PM UTC, original submission:

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.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by petrh (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 26 Apr 2011 09:29:32 PM UTCpetrhOpen/ClosedOpen=>Closed
    Tue 26 Apr 2011 09:29:31 PM UTCpetrhStatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1