Stephan Bergmann
cd8e720b06
-Werror,-Wunused-macros
...
Whatever those _POSIX_ for _MSV_VER were supposed to be good for (have been in
there at least ever since 4f4b74153d "Moved cpp
from cpp to soltools"), but cause -Wunused-macros at least when building with
clang-cl.
Change-Id: I356bf663cd1e86298ba72a179f46bb9d0c10016b
2016-03-04 08:52:43 +01:00
Noel Grandin
2087484c65
use consistent #define checks for the Windows platform
...
stage 2 of replacing usage of various checks for the windows platform
with the compiler-defined '_WIN32' macro
In this stage we focus on replacing usage of the WIN macro
Change-Id: Ie8a4a63198a6de96bd158ecd707dadafb9c8ea84
Reviewed-on: https://gerrit.libreoffice.org/22393
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-02-17 11:33:57 +00:00
Andrea Gelmini
64d624b651
Fix typos
...
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86
Reviewed-on: https://gerrit.libreoffice.org/21209
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com >
2016-01-10 14:17:20 +00:00
Stephan Bergmann
103d1f4486
loplugin:nullptr (automatic rewrite; Mac-specific code)
...
Change-Id: Ib52f7fb846886dd970ddd51475f890cd81c8f2b5
2015-11-10 16:20:39 +01:00
Stephan Bergmann
2ee689b56a
loplugin:nullptr (automatic rewrite)
...
Change-Id: I3ae78d781e686bfe9b0513183da7fc8edd81024b
2015-11-10 10:31:40 +01:00
Noel Grandin
d68a0fc050
loplugin:unusedmethods
...
Change-Id: Ie1603adf3908fd0668bcbe8f75c6bafa0d0bfd6c
Reviewed-on: https://gerrit.libreoffice.org/19072
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2015-10-02 06:20:35 +00:00
Andrea Gelmini
f45ac62a20
Fix typos
...
Change-Id: I89ff6d31662824d83961d6457b82db8d8031168c
Reviewed-on: https://gerrit.libreoffice.org/18977
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de >
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de >
2015-09-30 10:34:17 +00:00
Andrea Gelmini
0b7d51df3b
Fix typos
...
Change-Id: Ic6415423f46aaee7ba90239a617c318cf92ae222
Reviewed-on: https://gerrit.libreoffice.org/16711
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com >
2015-07-04 10:21:01 +00:00
Stephan Bergmann
6149c5c835
-fsanitize=nonnull-attribute
...
Change-Id: Id214fb1f0decd4d39684a846c06ff97d8baa209d
2015-06-16 12:24:01 +02:00
Caolán McNamara
7b0f4dc514
coverity#1000834 Use of untrusted string value
...
and
coverity#706196 Use of untrusted string value
coverity#1244947 Use of untrusted string value
Change-Id: I5083aba2eff9e852a24513db431585922302b279
2014-11-06 14:48:02 +00:00
Caolán McNamara
9e8701c711
coverity#1233618 Overlapping buffer in memory copy
...
Change-Id: I062dd96bfc4abf2bdaec2c17d1cf57d853d655d8
2014-10-02 14:49:10 +01:00
Noel Grandin
290b7e0632
remove use of register keyword in C files
...
C compilers have been ignoring it for the last decade
Change-Id: I42918263121dd189bab9d27077798b779b9e8da1
Reviewed-on: https://gerrit.libreoffice.org/9873
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-06-24 15:30:16 +00:00
Caolán McNamara
67502178f1
coverity#705235 Missing break in switch
...
Change-Id: I19e8e6aa08dc879f273f2a0177b40435c0ac553d
2014-05-30 14:19:10 +01:00
Stephan Bergmann
0a181c9aa2
Fix some memory leak in soltools/cpp tool
...
...though many more remain, as the design appears to be let heap grow
until exit.
Change-Id: I3e5cc95a0896c8add33a767209ab0ff60d6a4b52
2014-05-22 14:33:30 +02:00
Thomas Arnhold
2bd7767d01
Resolves fdo#70681: fixincludeguards.pl: all that's left
...
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5
Reviewed-on: https://gerrit.libreoffice.org/9360
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2014-05-15 12:50:46 +00:00
Stephan Bergmann
691a54ccdf
Clean up function declaration
...
Change-Id: I92c54f61fe8608d788cc236956f4a5a58e20a7df
2014-04-10 15:31:22 +02:00
Stephan Bergmann
247bfbdb46
Move prototype to include
...
Change-Id: I90c093c704609429f9997f3ffed6a9a79c8956a6
2014-04-04 10:29:26 +02:00
Stephan Bergmann
1cc318bfe6
Typo #elsif -> #elif
...
Change-Id: I95d4dc2a3364172e8917d0a029564e9114943148
2014-03-31 14:59:09 +02:00
Tor Lillqvist
3614d55460
WaE: 'PATH_MAX' : macro redefinition
...
Change-Id: I153e34d24493bbbebf37422fb6382969153506a8
2013-11-17 17:56:51 +02:00
Jesús Corrius
d83e581fb5
Fix for VS 2013 compilation
...
I don´t know why it doesn´t work anymore, but the fix is trivial
may be related of using the Windows 8.0 SDK.
Change-Id: Ia09109b53d4f022a732ea781c98ddd4eb0c721d9
2013-11-16 14:55:50 +01:00
Stephan Bergmann
376feb6a6f
left shift of 1 by 31 places cannot be represented in type 'int'
...
Clang -fsanitize=undefined
Change-Id: I2b3f1bd28e098d5eb57892d2c7438c18c5c3b357
2013-08-22 07:13:58 +02:00
Tor Lillqvist
cabd23916f
We don't seem to actually need glibc getopt
...
Change-Id: I1f221533f5ea684d113bdc45c04bf84405140f9f
Reviewed-on: https://gerrit.libreoffice.org/5539
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2013-08-21 07:44:38 +00:00
Takeshi Abe
542b45af44
Mark as const
...
Change-Id: I0bf93f1293fb08b8b558fcac0cb496ed99ad13d9
2013-07-14 08:17:20 +09:00
Stephan Bergmann
aa753f01ba
-Wunused-macros
...
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-27 09:36:53 +01:00
Thomas Arnhold
3991eaf556
reduce whitespaces between include and filename
...
Change-Id: I15f6ad0a760a28cbac53f99ba4d14ff5c24ce005
2013-03-19 01:26:45 +01:00
Luboš Luňák
f0eb45df5e
fix some lousy formatting that triggers warnings from the compiler plugin
...
Change-Id: I94cafba5363f24d608add6878c72f230f45fdb87
2012-10-09 17:25:29 +02:00
David Ostrovsky
3d7005b67d
soltools conversion to gbuild
...
The following tools are considered to be obsolete and are discontinued:
ldump, giparser, testhxx and support.
Change-Id: I70813c046edb30546463cda9eb8a1b96c3e840a3
2012-09-29 15:48:52 +02:00
Michael Meeks
2c3aa4f3a5
remove malingering legacy RCS tags.
2012-06-28 19:59:06 +01:00
Michael Meeks
e18655e475
re-base on ALv2 code.
2012-06-27 19:30:33 +01:00
Michael Meeks
b9042fad7c
re-base on ALv2 code.
...
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Tor Lillqvist
a6ed487d97
Decrease verbiage a little bit
2012-01-27 15:52:23 +02:00
Caolán McNamara
ff6af93716
this S390 ifdef isn't a contemporary one
2011-11-14 09:48:42 +00:00
Fridrich Štrba
bb5bdbbdca
Revert "Trying to chop out the uwinapi library"
...
This reverts commit 2dea0dab4f .
2011-09-16 16:26:03 +02:00
Fridrich Štrba
2dea0dab4f
Trying to chop out the uwinapi library
2011-09-16 15:52:40 +02:00
Tor Lillqvist
6465f4e8dd
Rehash cross-compilation ideas
...
Drop the TARGETPLATFORM=BUILD indication of stuff that is to be built
for the build platform but pointless to build for the host platform. I
will handle the split of stuff built for the build or host platforms
differently. Note that some libraries need to be built for both
platforms.
Add explicit rules to do nothing for the cross-compilation case, but
likely even that will be unnecessary in the case of complete modules
like soltools (?). I will just mark modules that are for the build
platform only with an own flag in BUILD_TYPE.
2011-06-04 19:08:33 +03:00
Tor Lillqvist
90e9f39e76
Cross-compilation work for soltools
2011-05-13 23:54:08 +03:00
Tor Lillqvist
eaf8e0939a
Some initial baby steps towards cross-compilation
...
And some baby steps for cross-compiling for iOS in particular.
2011-05-13 20:24:40 +03:00
Tor Lillqvist
20ba3c4ae8
Kill OS/2 stuff
2011-04-15 14:08:09 +03:00
Jan Holesovsky
5f08d6e5a4
Merge commit 'ooo/DEV300_m103'
...
Conflicts:
configure
configure.in
instsetoo_native/util/openoffice.lst
set_soenv.in
solenv/bin/cws.pl
solenv/bin/modules/installer/simplepackage.pm
solenv/gbuild/LinkTarget.mk
solenv/gbuild/extensions/post_PackModule.mk
solenv/gbuild/platform/linux.mk
solenv/gbuild/platform/macosx.mk
solenv/gbuild/platform/windows.mk
solenv/inc/installationtest.mk
solenv/inc/minor.mk
soltools/cpp/_eval.c
2011-03-23 16:58:44 +01:00
Thomas Arnhold
35f31a7e94
Remove MSDOS support
2011-02-24 22:00:27 +01:00
Danny Roberts
b7b0250d83
Removed some commented code.
2011-02-18 10:30:50 +01:00
Thomas Arnhold
e260e51842
Remove HPUX support
2011-02-16 20:30:38 +01:00
Caolán McNamara
55e801c2af
WaE: signed/unsigned
2011-02-03 11:35:01 +00:00
Tor Lillqvist
6ade6fe1e6
Silence compiler warnings
2011-02-03 00:44:31 +02:00
Matthias Huetsch [mhu]
eaaae34cbc
Update from master repository (DEV300_m98).
2011-01-27 18:16:28 +01:00
Caolán McNamara
6486978435
cppcheck: can reduce the scope of these variables
2010-12-09 14:46:05 +00:00
Matthias Huetsch [mhu]
dc09799bb9
#i115784# soltools: fix memory errors uncovered by valgrind and other tools.
2010-11-25 14:14:24 +01:00
Caolán McNamara
fa4882b94f
add modelines to .h files as well
2010-10-28 15:47:03 +01:00
Caolán McNamara
122c09f511
tweak for AIX
2010-10-13 20:29:38 +01:00
obo
9007f7daac
masterfix: #i10000# change HAVE_GETOPT to != YES
2010-06-24 11:59:00 +02:00