Zorba 2.2.0 fails to build with gcc 4.7 (missing includes)

Bug #963091 reported by Martin Gieseking
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
High
Matthias Brantner

Bug Description

The sources of Zorba 2.2.0 fail to build with gcc 4.7.0 due to missing includes of unistd.h:

/builddir/build/BUILD/zorba-2.2.0/bin/debugger/main.cpp:175:20: error: 'fork' was not declared in this scope
/builddir/build/BUILD/zorba-2.2.0/bin/debugger/process_listener.cpp:91:10: error: 'sleep' was not declared in this scope

The attached patch should fix this issue.

Related branches

Revision history for this message
Martin Gieseking (martin-gieseking) wrote :
Changed in zorba:
milestone: none → 2.5
assignee: nobody → Matthias Brantner (matthias-brantner)
importance: Undecided → High
status: New → In Progress
Changed in zorba:
status: In Progress → Fix Committed
Changed in zorba:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.