1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 19:52:20 +00:00
Commit graph

113 commits

Author SHA1 Message Date
Peter Howkins
7e9a7df246 Add a MainWindow.h include to prevent missing references. 2012-04-02 15:18:51 +01:00
Peter Howkins
24d74bceee Don't declare 'Chunk' as both public and private, that's just daft. 2012-04-02 15:17:50 +01:00
Peter Howkins
145ffe54dd Don't redeclare forceUpdate() with the wrong prototype. 2012-04-02 15:16:58 +01:00
Peter Howkins
7416482cc3 Add -fpermissive to allow compilation of old C++ on modern GCC 2012-04-02 15:16:05 +01:00
Peter Howkins
7795c597af Use a particulaly unpleasant cast to get a void * into an enumeration type. 2012-04-02 15:15:04 +01:00
Peter Howkins
dcbef994e0 C++ needs variables to have a type, use int as a default. 2012-04-02 15:14:09 +01:00
Peter Howkins
8f43a96122 On linux use \r instead of ^M as the character for a carridge return. 2012-04-02 15:13:13 +01:00
Peter Howkins
5c6f7d5317 -fpermissive to allow GCC to compile old C++ 2012-04-02 14:56:05 +01:00
Peter Howkins
e7de343555 C++ doesn't allow variables to be declared without a type, use 'int' as
a default.
2012-04-02 14:47:47 +01:00
Peter Howkins
830a3572db Do not specify linux architecture specific defines, most of these are defaults
now, and some cause issues on i386 for example.
2012-03-24 17:35:46 +00:00
Peter Howkins
f34a9a573f Merge branch 'linux1' of ssh://git.code.sf.net/p/cdesktopenv/code into linux1 2012-03-23 18:41:17 +00:00
Peter Howkins
d929f4cf5f Link with C++ linker 2012-03-23 13:49:49 +00:00
Peter Howkins
d2f85af5e5 Don't try to define abs() on linux, stdlib will handle it. 2012-03-23 13:49:24 +00:00
Peter Howkins
cc949fccd2 Exceptionally hacky linux fix. gnu gencat is returning != 0 even when it's
succeeding.
2012-03-22 17:05:45 +00:00
Peter Howkins
1e3b674118 Do not include a couple of missing files under linux. 2012-03-22 16:00:56 +00:00
Peter Howkins
43a91fa718 Don't include a couple of non-existant svr4 files on linux. 2012-03-20 20:50:16 +00:00
Peter Howkins
1476da61f7 Change over Linux to using the System V style pty code, it seems at some
point Linuxes pty code is no longer the BSD legacy one by default anymore.
2012-03-20 20:43:06 +00:00
Peter Howkins
87eee2f1e5 Link with C++ linker 2012-03-14 13:53:28 +00:00
Peter Howkins
939fc535d1 Prototype static function setRealDelArea() before it is used. 2012-03-14 13:52:14 +00:00
Peter Howkins
32e8c91d44 On linux do not include X11/Xlocale.h but locale.h, this prevents
Xlocale.h redefining setlocate() into _Xsetlocale() that it then can't
find and link against.
2012-03-14 13:50:42 +00:00
Peter Howkins
7294970c18 Namespace ostream and endl into std::
Use <iostream> without the .h
2012-03-13 17:54:48 +00:00
Peter Howkins
167fd854e1 namespace ostream into std::ostream for modern C++ 2012-03-13 17:45:34 +00:00
Peter Howkins
4e71617973 Add in -fpermissive for compiling old C++ on gcc 2012-03-13 17:43:43 +00:00
Peter Howkins
585674c817 Include <iostream> without the .h on modern C++ 2012-03-13 17:41:48 +00:00
Peter Howkins
5d76061f5d On linux ostream and endl need prefixing into the std namespace. 2012-03-13 17:40:21 +00:00
Peter Howkins
adf14ccd77 Include <iostream> without the .h on modern C++ 2012-03-13 17:31:56 +00:00
Peter Howkins
3984d5a45b On linux use the system provided libXau rather than one from the imports
directory (that would have linked to the X11 tree).
2012-03-13 17:18:35 +00:00
Peter Howkins
063cffa81d Add a .gitignore to try to reduce the amount of files listed as not
in repository on git status.
2012-03-13 16:44:50 +00:00
Peter Howkins
d1f3e24eac Use C++ linker
Add in freetype headers

Use system provided -lXdmcp and -Xau instead of trying to compile them
from the imports directory.
2012-03-13 16:15:22 +00:00
Peter Howkins
348f3cd81c Change detector for linux platform to match other Imakefile changes 2012-03-12 21:26:30 +00:00
Peter Howkins
7d770cff75 These days include standard C++ header files without the .h on the end 2012-03-12 16:43:22 +00:00
Peter Howkins
ca8ede6c1f Use C++ linker 2012-03-12 16:27:41 +00:00
Peter Howkins
fb174a8ec3 Undo previous method and use __va_copy instead. 2012-03-12 16:27:08 +00:00
Peter Howkins
0456158e41 On linux use the va_copy() func for variable arugment copying 2012-03-12 16:24:24 +00:00
Peter Howkins
63f6536c72 Initialise varargs list in the same way as OSF 2012-03-12 16:19:32 +00:00
Peter Howkins
71e364de5c Do not bother trying to redefine the putenv() function 2012-03-12 16:16:16 +00:00
Peter Howkins
53f42b5113 CLK_TCK is considered obsolete in GCC, use CLOCKS_PER_SEC instead 2012-03-12 16:05:21 +00:00
Peter Howkins
5949e1c410 Do not redefine strdup() on Linux 2012-03-12 16:03:06 +00:00
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