[openbeosnetteam] Re: Moving stuff: half done.

  • From: "Marcus Overhagen" <ml@xxxxxxxxxxxx>
  • To: openbeosnetteam@xxxxxxxxxxxxx
  • Date: Wed, 28 Aug 2002 03:37:13 CEST (+0200)

This should read:
> this would be a bad idea. Instead, a much better idea is to include 
> SupportDefs.h
> at the places where we use sys/types.h
..if we need to use types like int32.

> If possible, I'm going to replace the current sys/types.h with the BeOS R5 
> sys/types.h
> This will break much, but I think this needs to be done and I'm going to fix 
> it then.
I tried it, I think it is the way to go.

It will also require to at least add
 headers/posix/be_setup.h
 headers/posix/null.h
 headers/posix/size_t.h
 headers/posix/time.h
and:
 headers/posix/sys/select.h
 headers/posix/sys/sockio.h

Philippe did you forget to add the last two, or am I doing something wrong?

I still think:
> However I have still a bad feeling about our header problems. We really should
> work on getting a compilation that is independent from headers in 
> /boot/develop/headers

Is there a way to ignore /boot/develop/headers (other then by renaming it)? 

I also thing there is another problem with the current build system.
In BeOS, you could include any header without worrying where is was,
but now we have to do things like UsePublicHeaders support;

Can't we make *all public* headers available by default without extra rules?

something like 
current/headers/os current/headers/posix current/headers/os/app 
current/headers/os/device
current/headers/os/drivers current/headers/os/game ... 

I don't like errors like this one, just because current/headers/os isn't 
included,
and adding a rule for this to every Jamfile doesn't seem to be an option too.

Cc objects/x86.R1/kernel/libc/system/rlimit.o
In file included from 
/boot/home/Develop/OpenBeOS/current/headers/posix/time.h:4,
                 from 
/boot/home/Develop/OpenBeOS/current/headers/posix/sys/types.h:4,
                 from 
/boot/home/Develop/OpenBeOS/current/headers/posix/sys/uio.h:7,
                 from 
/boot/home/Develop/OpenBeOS/current/headers/os/kernel/vfs_types.h:4,
                 from 
/boot/home/Develop/OpenBeOS/current/headers/os/kernel/syscalls.h:14,
                 from 
/boot/home/Develop/OpenBeOS/current/src/kernel/libc/system/rlimit.c:8:
/boot/home/Develop/OpenBeOS/current/headers/posix/be_setup.h:30: BeBuild.h: No 
such file or directory   

BTW, is there a build team list, and can somebody please forward it?

PS: don't fear, I'm not going to commit anything that will break the build of 
the kernel.

Marcus



Other related posts: