Commit Graph

75 Commits

Author SHA1 Message Date
Peter Howkins 88cc514fbd Use C++ linker 2012-03-12 15:41:09 +00:00
Peter Howkins 5a09544b16 Linux doesn't allow open() with O_CREAT without permission flags anymore. 2012-03-12 15:39:22 +00:00
Peter Howkins baf772785b -fpermissive to allow gcc to compile old C++ 2012-03-12 15:19:36 +00:00
Peter Howkins 77ed6f7ee3 -fpermissive to allow GCC to compile old C++ 2012-03-12 15:18:09 +00:00
Peter Howkins dd2ff6b448 Set untyped variable to int 2012-03-12 15:15:38 +00:00
Peter Howkins e315d4ba3e Setting const variable with no type to 'int' (likely the default the
old compilers would have used)
2012-03-12 15:14:12 +00:00
Peter Howkins cbffec168a Use C++ linker 2012-03-12 14:48:23 +00:00
Peter Howkins a26bc89ad5 Use C++ linker 2012-03-12 14:42:58 +00:00
Peter Howkins c03c12449d use C++ linker 2012-03-12 14:40:34 +00:00
Peter Howkins b368679e95 Use C++ linker 2012-03-12 14:37:47 +00:00
Peter Howkins 72d9ef5875 Add linux to list of platforms that use that form of memset() 2012-03-12 14:35:03 +00:00
Peter Howkins 8631b4f7c0 Link with C++ linker 2012-03-12 12:14:03 +00:00
Peter Howkins eeb7e285f5 On linux use __fds_bits instead of fds_bits 2012-03-12 12:12:41 +00:00
Peter Howkins a5b6e62764 Link with C++ linker 2012-03-12 12:07:09 +00:00
Peter Howkins fd23228803 -fpermissive to allow old C++ to compile on gcc 2012-03-12 12:04:55 +00:00
Peter Howkins 7ed2353605 On Linux no access to pre iso C varargs.h 2012-03-12 11:56:11 +00:00
Peter Howkins ef1755be43 Link with C++ linker 2012-03-12 11:45:18 +00:00
Peter Howkins 44baf5431b Link with C++ linker 2012-03-12 11:33:49 +00:00
Peter Howkins 68027a6aa0 Link with C++ linker 2012-03-12 11:27:37 +00:00
Peter Howkins b069127485 Linux has the same value for ENOTSUP as another var, therefore protect one
to prevent a duplicate case issue in the switch().
2012-03-12 11:26:01 +00:00
Peter Howkins 12598a4780 Link with C++ linker 2012-03-12 11:19:46 +00:00
Peter Howkins 4d9bb3d348 Link with C++ linker 2012-03-12 11:19:04 +00:00
Peter Howkins 9ad5e31edd Link with C++ linker 2012-03-12 11:17:27 +00:00
Peter Howkins 7d5fcc4400 Link with C++ linker 2012-03-12 11:16:41 +00:00
Peter Howkins ce390d1290 Link with C++ linker 2012-03-12 11:11:10 +00:00
Peter Howkins bd368b24a2 Link with C++ linker 2012-03-12 11:01:17 +00:00
Peter Howkins 0e302b6bba Add in freetype directory to inlude path 2012-03-12 10:41:53 +00:00
Peter Howkins f972ee1646 On Linux when linking against a C++ library the whole program must be linked
with the C++ linker.
2012-03-12 10:38:42 +00:00
Peter Howkins c35c337aa1 When linking against libtt (a C++ lib) the link stage should use the C++
linker
2012-03-12 00:48:04 +00:00
Peter Howkins e321b293c1 When linking against C++ libraries gcc insists on using the C++ linker 2012-03-12 00:44:14 +00:00
Peter Howkins 84139c3575 On Linux don't redefine the prototypes to malloc() and realloc() to the wrong
things.
2012-03-12 00:37:58 +00:00
Peter Howkins 86909a64f0 Linux is a unistdh platform not an osfcn.h 2012-03-12 00:35:06 +00:00
Peter Howkins 54e8940874 linux is a unistd.h platform not a osfcn.h 2012-03-12 00:33:44 +00:00
Peter Howkins 50465f5a87 -fpermissive to allow gcc to compile old C++ 2012-03-12 00:32:10 +00:00
Peter Howkins 0ce783f018 Do not redefine prototype of exit() under linux 2012-03-12 00:31:10 +00:00
Peter Howkins ee22401f76 Add <unistd.h> include for getopt() 2012-03-12 00:29:37 +00:00
Peter Howkins e2f33fe1dd -fpermissive to allow gcc to compile old C++ 2012-03-12 00:27:41 +00:00
Peter Howkins e68afb01e6 -fpermissive to allow gcc to compile old C++ 2012-03-12 00:26:40 +00:00
Peter Howkins a513d54964 -fpermissive to allow gcc to compile old C++ 2012-03-12 00:25:41 +00:00
Peter Howkins 4a6f362ee7 Use socklen_t type for argument for getsockname() 2012-03-12 00:25:04 +00:00
Peter Howkins a2706176db Add int type to previously untyped variable 2012-03-12 00:23:06 +00:00
Peter Howkins 0ada4a2e39 On linux use a iso C (89) stdarg variable argument function.
Gcc no longer supports old style varargs.h
2012-03-12 00:18:13 +00:00
Peter Howkins 0a9e7d2db9 No easy access to min()/max() macro, rewrite code 2012-03-12 00:14:33 +00:00
Peter Howkins fc4f30fa88 -fpermissive to allow GCC to compile old C++ 2012-03-12 00:06:34 +00:00
Peter Howkins 13f6ea01d4 No easy access to min() or max() macros, rewrite code to not use them. 2012-03-12 00:04:39 +00:00
Peter Howkins 8b79b425f8 No need to create another version of basename(), there's one available
on Linux
2012-03-11 23:58:53 +00:00
Peter Howkins 5aea241fd1 Linux uses unistd.h not osfcn.h 2012-03-11 23:57:12 +00:00
Peter Howkins e8fe4970eb Linux also needs cast to char * of NULL 2012-03-11 23:51:05 +00:00
Peter Howkins 3d25ba1ea1 No osfcn.h available on linux 2012-03-11 23:48:57 +00:00
Peter Howkins a4442878a1 Add in wctype.h for widechars 2012-03-11 23:47:21 +00:00