#
49506076 |
|
19-Jul-2019 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Add a features.h to auto enable _DEFAULT_SOURCE Unless __STRICT_ANSI__ is defined (as it is when running the compiler in --std=c89 or --std=c99, but not when running it without any specific args), we can enable these by default and behave like most other systems. I don't know why no one has done this yet despite suggesting it multiple times and people prefer to #define _BSD_SOURCE manually everywhere. Remove all places in our Jamfiles and sources where it had been defined. _DEFAULT_SOURCE is now enabled by default for all sources of Haiku, since we let the compiler use GNU extensions (no strict C standard specified on command line) Use _DEFAULT_SOURCE as the define name to match current versions of glibc. Enable it if _BSD_SOURCE is #defined in compiler flags, for backward compatibility. Change-Id: I6db04da5f6db437723cdfba3478f5094a69d7727 Reviewed-on: https://review.haiku-os.org/c/1633 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
|
#
091a80ae |
|
15-Apr-2015 |
Adrien Destugues <pulkomandy@gmail.com> |
Protect all BSD extensions with _BSD_SOURCE * Do not define the symbols by default, as they are not in the default libraries. * Adjust jamfiles of all code using BSD extensions to define _BSD_SOURCE. * This makes Haiku slightly more compliant to standard C/POSIX.
|
#
dff211d8 |
|
30-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Build media add-ons for secondary arch. Fixes #10049.
|
#
220d0402 |
|
31-Jul-2014 |
Oliver Tappe <zooey@hirschkaefer.de> |
Use libstdc++, libsupc++ and libgcc from gcc_syslibs. * Instead of faking libstdc++.so from libstdc++.a, use libstdc++.so from the gcc_syslibs build feature for everything except x86_gcc2. * Use libgcc_s.so from the gcc_syslibs build feature for everything but x86_gcc2 (which still carries libgcc as part of libroot.so). * Drop filtering of libgcc objects for libroot, as that is no longer necessary since we're only using libgcc-as-single-object for libroot with x86_gcc2, where the filtered object file doesn't exist. Should the objects that used to be filtered cause any problems as part of libgcc_s.so, we can always filter them as part of the gcc build. * Use libsupc++.so from the gcc_syslibs build feature for everything but x86_gcc2. * Adjust all Jamfiles accordingly. * Deactivate building of faked libstdc++.so for non-x86-gcc2. For x86_gcc2, we still build libstdc++.so from the sources in the Haiku source tree as part of the Haiku build . * Put gcc_syslibs package onto the image, when needed.
|
#
16d5c24e |
|
07-Jul-2009 |
Oliver Tappe <zooey@hirschkaefer.de> |
* merged 32bit-wchar_t branches of buildtools and haiku back into the respective trunk git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31443 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d0da34f0 |
|
12-Oct-2008 |
Rene Gollent <anevilyak@gmail.com> |
Code style cleanup / honored 80 column line length limit. Modified FireWireDVAddOn to use BObjectList. Feel free to chime in if I missed any style violations. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28000 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b99c736b |
|
10-Oct-2008 |
Rene Gollent <anevilyak@gmail.com> |
Add the current version of JiSheng Zhang's firewire_dv media add-on to the build. This is mostly complete, excepting BBufferConsumer's virtuals are not yet implemented, and needs more testing to ensure that the encoded stream is correctly read from the camera, though based off preliminary tests by Francois, detection/publishing at least seems to work. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27965 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
091a80aeed690e629167ea9e5603f51d950e49b8 |
|
15-Apr-2015 |
Adrien Destugues <pulkomandy@gmail.com> |
Protect all BSD extensions with _BSD_SOURCE * Do not define the symbols by default, as they are not in the default libraries. * Adjust jamfiles of all code using BSD extensions to define _BSD_SOURCE. * This makes Haiku slightly more compliant to standard C/POSIX.
|
#
dff211d8a6c9dfdadab4da366c327afeea03c56e |
|
30-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Build media add-ons for secondary arch. Fixes #10049.
|
#
220d04022750f40f8bac8f01fa551211e28d04f2 |
|
31-Jul-2014 |
Oliver Tappe <zooey@hirschkaefer.de> |
Use libstdc++, libsupc++ and libgcc from gcc_syslibs. * Instead of faking libstdc++.so from libstdc++.a, use libstdc++.so from the gcc_syslibs build feature for everything except x86_gcc2. * Use libgcc_s.so from the gcc_syslibs build feature for everything but x86_gcc2 (which still carries libgcc as part of libroot.so). * Drop filtering of libgcc objects for libroot, as that is no longer necessary since we're only using libgcc-as-single-object for libroot with x86_gcc2, where the filtered object file doesn't exist. Should the objects that used to be filtered cause any problems as part of libgcc_s.so, we can always filter them as part of the gcc build. * Use libsupc++.so from the gcc_syslibs build feature for everything but x86_gcc2. * Adjust all Jamfiles accordingly. * Deactivate building of faked libstdc++.so for non-x86-gcc2. For x86_gcc2, we still build libstdc++.so from the sources in the Haiku source tree as part of the Haiku build . * Put gcc_syslibs package onto the image, when needed.
|
#
16d5c24e533eb14b7b8a99ee9f3ec9ba66335b1e |
|
07-Jul-2009 |
Oliver Tappe <zooey@hirschkaefer.de> |
* merged 32bit-wchar_t branches of buildtools and haiku back into the respective trunk git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31443 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d0da34f00ff4476fc0ddead298c715d424f9c866 |
|
12-Oct-2008 |
Rene Gollent <anevilyak@gmail.com> |
Code style cleanup / honored 80 column line length limit. Modified FireWireDVAddOn to use BObjectList. Feel free to chime in if I missed any style violations. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28000 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b99c736b83b24f122df74e1bfde46271cc724969 |
|
10-Oct-2008 |
Rene Gollent <anevilyak@gmail.com> |
Add the current version of JiSheng Zhang's firewire_dv media add-on to the build. This is mostly complete, excepting BBufferConsumer's virtuals are not yet implemented, and needs more testing to ensure that the encoded stream is correctly read from the camera, though based off preliminary tests by Francois, detection/publishing at least seems to work. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27965 a95241bf-73f2-0310-859d-f6bbb57e9c96
|