Tooling failure with Intel 11.1 in tools/Checkmesh_main.cpp

Bug #845558 reported by Tim Bond on 2011-09-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fluidity
Medium
Tim Bond

Bug Description

make fltools fails on CX1 using Intel 11.1 with:
Checkmesh_main.cpp(83): error: identifier "stdout" is undefined
    if(freopen(buffer.str().c_str(), "w", stdout) == NULL){
                                          ^

Checkmesh_main.cpp(83): error: identifier "freopen" is undefined
    if(freopen(buffer.str().c_str(), "w", stdout) == NULL){
       ^

Checkmesh_main.cpp(89): error: identifier "stderr" is undefined
    if(freopen(buffer.str().c_str(), "w", stderr) == NULL){
                                          ^

compilation aborted for Checkmesh_main.cpp (code 2)
gmake[1]: *** [Checkmesh_main.o] Error 2
make: *** [fltools] Error 2

This looks like a missing include of stdio.h.

Tim Bond (timothy-bond) on 2011-09-09
Changed in fluidity:
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → Tim Bond (timothy-bond)
Tim Bond (timothy-bond) on 2011-11-08
Changed in fluidity:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers