4 ms·
OK, off the top of my head (not all apply to all forks): - The math library (libm) is incomplete. - The 'nm' command has non-standard syntax. - The 'od' command
by mansr 17y ago
OK, off the top of my head (not all apply to all forks):
- The math library (libm) is incomplete.
- The 'nm' command has non-standard syntax.
- The 'od' command has non-standard syntax.
- System headers require -D_BSD_SOURCE or similar.
- System headers disobey standards in other ways.
- Not using -fPIC on OpenBSD gives unusable executables.
- tedunangst 17y agoSystem headers should only require BSD_SOURCE if you've asked for strict ansi mode, just like gnu headers require GNU_SOURCE.
- mansr 17y agoThe glibc headers work perfectly in strict C99 mode. The BSD headers do not.