pth: missing <iostream> header

Bug #1542283 reported by Alex Valavanis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Quantum wells, wires and dots
Fix Released
Critical
Alex Valavanis

Bug Description

Build failure caused by missing header... this seems to affect recent GCC (Ubuntu Wiley onwards)

src/pth.cpp: In function 'int main(int, char**)':
src/pth.cpp:56:9: error: 'cout' is not a member of 'std'
         std::cout << "alpha = " << alpha << " m^{-1}" << std::endl;
         ^
src/pth.cpp:57:9: error: 'cout' is not a member of 'std'
         std::cout << "lambda = " << lambda << std::endl;
         ^
src/pth.cpp:58:9: error: 'cout' is not a member of 'std'
         std::cout << "mass = " << m << " kg" << std::endl;
         ^
Makefile:2013: recipe for target 'src/pth.o' failed

Tags: build

Related branches

Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Fix committed lp:qwwad/1.2.x r337

Changed in qwwad:
milestone: none → 1.2.1
status: In Progress → Fix Committed
Changed in qwwad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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