Opened 10 years ago

Closed 5 years ago

#5630 closed bug (fixed)

GCC4: headers/cpp/fenv.h don't find bits/c++config.h

Reported by: michaelvoliveira Owned by: jprostko
Priority: normal Milestone: Unscheduled
Component: Applications/Command Line Tools Version: R1/Development
Keywords: gcc build headers Cc:
Blocked By: Blocking:
Platform: All


I don't know if it is a bug...


While I'm use gcc4

the fenv.h header don't find c++config.h header at


if I put at


the fenv.h enconters it, but

I got several errors...

If it is invalid please ignore...

Change History (9)

comment:1 by michaelvoliveira, 10 years ago

using rev35919

comment:2 by bonefish, 10 years ago

Please provide the following information:

  • kind of build (gcc2hybrid, gcc4,...),
  • How to reproduce to problem.

Note that (if applicable) those should always be provided in any ticket. Cf.

comment:3 by michaelvoliveira, 10 years ago

Ah! Of course,

It's a Haiku gcc4hybrid.. clean.. that I made in the past week

I was trying to build a sdl game that scottmc told me


so I use the following commands:

setgcc gcc4 ./configure --prefix=/boot/common

And the error appear...

comment:4 by bonefish, 10 years ago

Owner: changed from nobody to jprostko
Status: newassigned

The problem is that "/boot/develop/headers/cpp" is also part of the header search paths in C mode, which is why the wrong <fenv.h> header is picked up in that case.

In case Joseph turns up again the ticket is his.

comment:5 by michaelvoliveira, 10 years ago

Hum.. thanks!!

So.. I dropped the fenv.h for a momment and the build session runs smoothly...

comment:6 by bonefish, 10 years ago

Removed the "cpp" directory from the C headers in hrev36354. The problem should be fixed as soon as the gcc optional packages have been rebuilt.

comment:7 by michaelvoliveira, 9 years ago

I think that this ticket could be closed

comment:8 by michaelvoliveira, 5 years ago


Somebody please close this ticket

comment:9 by korli, 5 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.