cmath include broken in lsb-build-base3
Bug #424244 reported by
Ole Henry Halvorsen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lsb-build-base3 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Found on: Ubuntu 9.04 Server x86_64
Steps to reproduce:
#include <cmath>
int main(int argc, char *argv[])
{
return 0;
}
# lsbc++ test.cpp
In file included from /usr/include/
/usr/include/
/usr/include/
Other toolsets are fine:
# g++-4.1 test.cpp
# g++-4.2 test.cpp
# g++-4.3 test.cpp
Thanks.
To post a comment you must log in.
Looking into it some more it appears that LSB 3.2 does not support or play well with GCC 4.3, the solution is to install gcc-4.1 then set LSBCC and LSBCXX environment variables so it will be used instead when invoking lsbc++.