summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Peter Howkins [Mon, 12 Mar 2012 16:27:08 +0000 (16:27 +0000)]
Undo previous method and use __va_copy instead.
Peter Howkins [Mon, 12 Mar 2012 16:24:24 +0000 (16:24 +0000)]
On linux use the va_copy() func for variable arugment copying
Peter Howkins [Mon, 12 Mar 2012 16:19:32 +0000 (16:19 +0000)]
Initialise varargs list in the same way as OSF
Peter Howkins [Mon, 12 Mar 2012 16:16:16 +0000 (16:16 +0000)]
Do not bother trying to redefine the putenv() function
Peter Howkins [Mon, 12 Mar 2012 16:05:21 +0000 (16:05 +0000)]
CLK_TCK is considered obsolete in GCC, use CLOCKS_PER_SEC instead
Peter Howkins [Mon, 12 Mar 2012 16:03:06 +0000 (16:03 +0000)]
Do not redefine strdup() on Linux
Peter Howkins [Mon, 12 Mar 2012 15:41:09 +0000 (15:41 +0000)]
Use C++ linker
Peter Howkins [Mon, 12 Mar 2012 15:39:22 +0000 (15:39 +0000)]
Linux doesn't allow open() with O_CREAT without permission flags anymore.
Peter Howkins [Mon, 12 Mar 2012 15:19:36 +0000 (15:19 +0000)]
-fpermissive to allow gcc to compile old C++
Peter Howkins [Mon, 12 Mar 2012 15:18:09 +0000 (15:18 +0000)]
-fpermissive to allow GCC to compile old C++
Peter Howkins [Mon, 12 Mar 2012 15:15:38 +0000 (15:15 +0000)]
Set untyped variable to int
Peter Howkins [Mon, 12 Mar 2012 15:14:12 +0000 (15:14 +0000)]
Setting const variable with no type to 'int' (likely the default the
old compilers would have used)
Peter Howkins [Mon, 12 Mar 2012 14:48:23 +0000 (14:48 +0000)]
Use C++ linker
Peter Howkins [Mon, 12 Mar 2012 14:42:58 +0000 (14:42 +0000)]
Use C++ linker
Peter Howkins [Mon, 12 Mar 2012 14:40:34 +0000 (14:40 +0000)]
use C++ linker
Peter Howkins [Mon, 12 Mar 2012 14:37:47 +0000 (14:37 +0000)]
Use C++ linker
Peter Howkins [Mon, 12 Mar 2012 14:35:03 +0000 (14:35 +0000)]
Add linux to list of platforms that use that form of memset()
Peter Howkins [Mon, 12 Mar 2012 12:14:03 +0000 (12:14 +0000)]
Link with C++ linker
Peter Howkins [Mon, 12 Mar 2012 12:12:41 +0000 (12:12 +0000)]
On linux use __fds_bits instead of fds_bits
Peter Howkins [Mon, 12 Mar 2012 12:07:09 +0000 (12:07 +0000)]
Link with C++ linker
Peter Howkins [Mon, 12 Mar 2012 12:04:55 +0000 (12:04 +0000)]
-fpermissive to allow old C++ to compile on gcc
Peter Howkins [Mon, 12 Mar 2012 11:56:11 +0000 (11:56 +0000)]
On Linux no access to pre iso C varargs.h
Peter Howkins [Mon, 12 Mar 2012 11:45:18 +0000 (11:45 +0000)]
Link with C++ linker
Peter Howkins [Mon, 12 Mar 2012 11:33:49 +0000 (11:33 +0000)]
Link with C++ linker
Peter Howkins [Mon, 12 Mar 2012 11:27:37 +0000 (11:27 +0000)]
Link with C++ linker
Peter Howkins [Mon, 12 Mar 2012 11:26:01 +0000 (11:26 +0000)]
Linux has the same value for ENOTSUP as another var, therefore protect one
to prevent a duplicate case issue in the switch().
Peter Howkins [Mon, 12 Mar 2012 11:19:46 +0000 (11:19 +0000)]
Link with C++ linker
Peter Howkins [Mon, 12 Mar 2012 11:19:04 +0000 (11:19 +0000)]
Link with C++ linker
Peter Howkins [Mon, 12 Mar 2012 11:17:27 +0000 (11:17 +0000)]
Link with C++ linker
Peter Howkins [Mon, 12 Mar 2012 11:16:41 +0000 (11:16 +0000)]
Link with C++ linker
Peter Howkins [Mon, 12 Mar 2012 11:11:10 +0000 (11:11 +0000)]
Link with C++ linker
Peter Howkins [Mon, 12 Mar 2012 11:01:17 +0000 (11:01 +0000)]
Link with C++ linker
Peter Howkins [Mon, 12 Mar 2012 10:41:53 +0000 (10:41 +0000)]
Add in freetype directory to inlude path
Peter Howkins [Mon, 12 Mar 2012 10:38:42 +0000 (10:38 +0000)]
On Linux when linking against a C++ library the whole program must be linked
with the C++ linker.
Peter Howkins [Mon, 12 Mar 2012 00:48:04 +0000 (00:48 +0000)]
When linking against libtt (a C++ lib) the link stage should use the C++
linker
Peter Howkins [Mon, 12 Mar 2012 00:44:14 +0000 (00:44 +0000)]
When linking against C++ libraries gcc insists on using the C++ linker
Peter Howkins [Mon, 12 Mar 2012 00:37:58 +0000 (00:37 +0000)]
On Linux don't redefine the prototypes to malloc() and realloc() to the wrong
things.
Peter Howkins [Mon, 12 Mar 2012 00:35:06 +0000 (00:35 +0000)]
Linux is a unistdh platform not an osfcn.h
Peter Howkins [Mon, 12 Mar 2012 00:33:44 +0000 (00:33 +0000)]
linux is a unistd.h platform not a osfcn.h
Peter Howkins [Mon, 12 Mar 2012 00:32:10 +0000 (00:32 +0000)]
-fpermissive to allow gcc to compile old C++
Peter Howkins [Mon, 12 Mar 2012 00:31:10 +0000 (00:31 +0000)]
Do not redefine prototype of exit() under linux
Peter Howkins [Mon, 12 Mar 2012 00:29:37 +0000 (00:29 +0000)]
Add <unistd.h> include for getopt()
Peter Howkins [Mon, 12 Mar 2012 00:27:41 +0000 (00:27 +0000)]
-fpermissive to allow gcc to compile old C++
Peter Howkins [Mon, 12 Mar 2012 00:26:40 +0000 (00:26 +0000)]
-fpermissive to allow gcc to compile old C++
Peter Howkins [Mon, 12 Mar 2012 00:25:41 +0000 (00:25 +0000)]
-fpermissive to allow gcc to compile old C++
Peter Howkins [Mon, 12 Mar 2012 00:25:04 +0000 (00:25 +0000)]
Use socklen_t type for argument for getsockname()
Peter Howkins [Mon, 12 Mar 2012 00:23:06 +0000 (00:23 +0000)]
Add int type to previously untyped variable
Peter Howkins [Mon, 12 Mar 2012 00:18:13 +0000 (00:18 +0000)]
On linux use a iso C (89) stdarg variable argument function.
Gcc no longer supports old style varargs.h
Peter Howkins [Mon, 12 Mar 2012 00:14:33 +0000 (00:14 +0000)]
No easy access to min()/max() macro, rewrite code
Peter Howkins [Mon, 12 Mar 2012 00:06:34 +0000 (00:06 +0000)]
-fpermissive to allow GCC to compile old C++
Peter Howkins [Mon, 12 Mar 2012 00:04:39 +0000 (00:04 +0000)]
No easy access to min() or max() macros, rewrite code to not use them.
Peter Howkins [Sun, 11 Mar 2012 23:58:53 +0000 (23:58 +0000)]
No need to create another version of basename(), there's one available
on Linux
Peter Howkins [Sun, 11 Mar 2012 23:57:12 +0000 (23:57 +0000)]
Linux uses unistd.h not osfcn.h
Peter Howkins [Sun, 11 Mar 2012 23:51:05 +0000 (23:51 +0000)]
Linux also needs cast to char * of NULL
Peter Howkins [Sun, 11 Mar 2012 23:48:57 +0000 (23:48 +0000)]
No osfcn.h available on linux
Peter Howkins [Sun, 11 Mar 2012 23:47:21 +0000 (23:47 +0000)]
Add in wctype.h for widechars
Peter Howkins [Sun, 11 Mar 2012 23:44:52 +0000 (23:44 +0000)]
Bodgy support around including X11/Xos_r.h
Undefine index and rindex first to prevent clashes with tt funcs.
Should be fixed by namespacing local funcs
Peter Howkins [Sun, 11 Mar 2012 23:40:39 +0000 (23:40 +0000)]
-fpermissive to allos GCC to compile old C++
Peter Howkins [Sun, 11 Mar 2012 23:38:55 +0000 (23:38 +0000)]
On Linux initialise tt_strings as () rather than (NULL)
Peter Howkins [Sun, 11 Mar 2012 23:34:37 +0000 (23:34 +0000)]
-fpermissive to allow GCC to compile old C++
Peter Howkins [Sun, 11 Mar 2012 23:33:09 +0000 (23:33 +0000)]
-fpermissive to allow gcc to compile old C++
Peter Howkins [Sun, 11 Mar 2012 23:32:08 +0000 (23:32 +0000)]
-fpermissive to allow gcc to compile old C++
Peter Howkins [Sun, 11 Mar 2012 19:12:51 +0000 (19:12 +0000)]
On linux it seems that _XTyname() only takes one argument, no buffer required.
Peter Howkins [Sun, 11 Mar 2012 19:00:31 +0000 (19:00 +0000)]
Add in -fpermissive to handle old pre standard C++
Peter Howkins [Sun, 11 Mar 2012 18:16:10 +0000 (18:16 +0000)]
On linux no generic.h available, and can use the C++ style delete array
Peter Howkins [Sun, 11 Mar 2012 18:15:12 +0000 (18:15 +0000)]
Add linux to list of platforms that are object to those definitions
Peter Howkins [Sun, 11 Mar 2012 18:08:03 +0000 (18:08 +0000)]
Bodgy fix to not being able to find RADIXCHAR define, use '.' instead.
Come back to this later.
Peter Howkins [Sun, 11 Mar 2012 18:04:30 +0000 (18:04 +0000)]
Do not re-prototype strdup()
Peter Howkins [Sun, 11 Mar 2012 18:02:24 +0000 (18:02 +0000)]
Do not re-prototype strdup()
Peter Howkins [Sun, 11 Mar 2012 17:46:01 +0000 (17:46 +0000)]
Due to glibc not have a 'constant' stderr reference, on linux set the error
reporting var at runtime.
Peter Howkins [Sun, 11 Mar 2012 17:33:41 +0000 (17:33 +0000)]
On Linux do not re prototype strdup()
Peter Howkins [Sun, 11 Mar 2012 16:33:18 +0000 (16:33 +0000)]
Add in extra args required for open() on Linux
Peter Howkins [Sun, 11 Mar 2012 16:17:39 +0000 (16:17 +0000)]
Also use internal __fds_bits instead of fds_bits
Peter Howkins [Sun, 11 Mar 2012 16:16:00 +0000 (16:16 +0000)]
On linux do not prototype strdup()
Peter Howkins [Sun, 11 Mar 2012 16:14:04 +0000 (16:14 +0000)]
Undefine SVR4 whilst including #include <X11/Xos_r.h> to prevent sys/byteorder.h
missing header error.
Peter Howkins [Sun, 11 Mar 2012 16:05:20 +0000 (16:05 +0000)]
Use internal __fds_bit variable on Linux, this doesn't seem great.
Peter Howkins [Sun, 11 Mar 2012 16:00:15 +0000 (16:00 +0000)]
Add a default empty LinuxMachineDefines to the linux conf, makes imake (and many others compile)
Peter Howkins [Sun, 11 Mar 2012 15:56:24 +0000 (15:56 +0000)]
Add in exctra freetype include directory
Peter Howkins [Sun, 11 Mar 2012 14:21:26 +0000 (14:21 +0000)]
GCC no longer supports <varargs.h>, change to <stdarg.h>
Peter Howkins [Sat, 10 Mar 2012 18:58:32 +0000 (18:58 +0000)]
Add GNU LGPL headers to all .c .C and .h files
Peter Howkins [Sat, 10 Mar 2012 18:21:40 +0000 (18:21 +0000)]
Initial import of the CDE 2.1.30 sources from the Open Group.