Commit Graph

16 Commits

Author SHA1 Message Date
7c704c78d3 Removed some unused parameters; added SAL_UNUSED_PARAMETER.
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC)
is used to annotate legitimately unused parameters, so that static
analysis tools can tell legitimately unused parameters from truly
unnecessary ones.  To that end, some patches for external modules
are also added, that are only applied when compiling with GCC and
add necessary __attribute__ ((unused)) in headers.
2012-01-21 15:21:16 +01:00
63141d21b1 -Werror=sign-promo fixes 2011-12-19 11:33:12 +01:00
051fdda153 cppu: convert to gbuild
Because of unit tests is here custom target where are idl files
processed.
2011-12-19 10:14:51 +01:00
24b4c075d5 remove include of pch header in cppu 2011-11-27 13:02:56 -06:00
70a6b9ffbd New sal/log.h obsoletes osl/diagnose.h and tools/debug.hxx.
* New SAL_INFO..., SAL_WARN... macros.
* New SAL_STREAM supersedes OSL_FORMAT.
* oustringostreaminserter.hxx moved from unotest to rtl (and always UTF-8 now).
* TODO to enable GCC __attribute__((format)) in sal/log.h (requires call-site
  cleanup).
* Further functionality in tools/debug.hxx (DBG_MEMTEST, DBG_CTOR, etc.) not yet
  addressed.
* Some replacements tools String -> rtl::OUString.
2011-11-22 09:41:47 +01:00
c506e1852a fdo#42865: cppu,cppuhelper,testtools: no mapfile
Instead, build with VISIBILITY_HIDDEN.
2011-11-15 20:52:00 +01:00
e3712f9d35 Fix build --all depend=x. 2011-11-14 11:50:26 +01:00
bf1f0183d5 Some fixes for "clang version 3.1 (trunk 142234)" (with --enable-werror, on Linux x86_64). 2011-10-18 23:10:56 +02:00
6671fa81db Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *(). 2011-09-27 20:22:03 +02:00
d996328cd5 sb140: #i113503# mixing system CppUnit and OOo STLport does not work, backed out a6913c9677c2
For LibO, that just means replacing sal/cppunit.h with sal/precppunit.hxx.
2011-09-12 22:47:50 +02:00
e224ac0e31 use rm -f to not complain about attempting to remove nonexisting file 2011-06-13 16:27:50 +02:00
28bff17eac Can't run any qa when cross-compiling 2011-06-05 02:23:46 +03:00
1fa55878d9 restore cppunit test, Sequence ctor from sal_Int32 is now explicit 2011-03-18 21:49:26 +00:00
a4632bb6a2 only test this on certain archs 2011-03-18 13:37:29 +00:00
16d941cb03 Add PowerPC to the right branch 2011-03-18 14:30:33 +01:00
71dee2f153 move cppumaker test to cppu 2011-03-15 13:41:19 +00:00