View Issue Details

IDProjectCategoryView StatusLast Update
0001404OpenFOAMBugpublic2014-10-30 12:34
Reporteruser317Assigned Towill  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSUbuntuOS Version10.04
Summary0001404: some mistakes of source code
Descriptionfile:error.C
line:131
error Foam::error::operator OSstream&()
ok Foam::error::operator Foam::OSstream&()
will lead to compile error
line:145
error Foam::error::operator dictionary() const
ok Foam::error::operator Foam::dictionary() const
will lead to compile error

file:messageStream.C
should add #include "OFstream.H", otherwise Snull is not define
file:IOobject.C
line:51
error bool Foam::IOobject::IOobject::fileNameComponents
ok bool Foam::IOobject::fileNameComponents
will lead to compile error

file:triad.C
line:375
error Foam::triad::operator Foam::quaternion() const
ok Foam::triad::operator Foam::quaternion() const
will lead to compile error
TagsNo tags attached.

Activities

will

2014-10-15 11:08

manager   ~0003256

Wow, our compilers are remarkably tolerant not to have complained about these. Thanks for the report. I've fixed the typos in commit 1b4050793e9968c0a21a40f2d198e0d180762949. The OFstream include wasn't added as messageStream.C isn't compiled directely. It is included into global.Cver, which does have the necessary include.

Issue History

Date Modified Username Field Change
2014-09-26 17:14 user317 New Issue
2014-10-15 11:08 will Note Added: 0003256
2014-10-15 11:08 will Status new => resolved
2014-10-15 11:08 will Resolution open => fixed
2014-10-15 11:08 will Assigned To => will