Commit Graph

28 Commits

Author SHA1 Message Date
Fredrik Roubert
17606e0345 ICU-20601 Remove superfluous semicolons (-Wextra-semi-stmt). 2019-08-09 14:38:52 +02:00
Jeff Genovy
e72290c45e ICU-13764 Add separate CI build that treats warnings as errors with clang.
This adds a separate CI build that enables -Werror for clang.

This also fixes all of the -Wall -Wextra warnings in the tests, and all the
-Wextra-semi warnings as well.
2019-07-30 22:10:02 -07:00
Jeff Genovy
33d7868d45 ICU-20351 Warning cleanup changes for ICU4C under MSVC. 2019-01-16 16:43:02 -08:00
Markus Scherer
03f431d30d ICU-13340 obsolete unicode/utf_old.h: add U_HIDE_OBSOLETE_UTF_OLD_H to optionally hide all of the .h contents; default: no behavior change; adjust code & tests to work either way
X-SVN-Rev: 40413
2017-09-14 06:24:35 +00:00
Andy Heninger
242e02c388 ICU-12764 icu4c utf-8 source files, update Copyright notices.
X-SVN-Rev: 39583
2017-01-20 00:20:31 +00:00
Michael Ow
61607c2773 ICU-12564 Update copyright notice in trunk
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Yoshito Umaoka
00ca13e126 ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00
Michael Ow
c9f199a30f ICU-12564 Update copyright notice in ICU4C
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
Steven R. Loomis
7594250cc5 ICU-7653 changed uprv_lengthof to UPRV_LENGTHOF, also added apidoc
X-SVN-Rev: 36275
2014-08-28 22:13:45 +00:00
Tom Zhang
ee1f29b584 ICU-7653 move LENGTHOF(array) to common, internal header
X-SVN-Rev: 36265
2014-08-28 14:55:34 +00:00
Andy Heninger
ae8896de7f ICU-8524 compiler warning cleanup.
X-SVN-Rev: 30026
2011-05-04 22:34:13 +00:00
Michael Ow
2333b126c1 ICU-6845 Improve the code coverage in ICU4C.
X-SVN-Rev: 28790
2010-10-12 16:38:38 +00:00
Michael Ow
bc0c9167d8 ICU-7519 Because of certain compiler optimization options, remove usage of global variables in cintltst and use getter/setter functions instead.
X-SVN-Rev: 27907
2010-04-07 16:18:38 +00:00
Andy Heninger
20e7751c2c ICU-6998 swat a bunch of compiler warnings.
X-SVN-Rev: 26288
2009-07-10 18:58:35 +00:00
Michael Ow
9100ba632e ICU-6905 Log errors as data errors where appropriate to ensure cintltst passes without data. Some areas don't propagate error code. Add new error log function to check for error code.
X-SVN-Rev: 26084
2009-06-09 21:28:13 +00:00
Markus Scherer
131e1b25ab ICU-6453 more test cleanup
X-SVN-Rev: 25870
2009-04-22 22:42:40 +00:00
Markus Scherer
5747679605 ICU-6453 partial test cleanup
X-SVN-Rev: 25858
2009-04-21 23:46:53 +00:00
Michael Ow
d2531b1d50 ICU-6695 To speed up ucnvseltst in normal mode, decrease the curCase test value.
X-SVN-Rev: 25291
2009-01-22 21:18:50 +00:00
Michael Ow
798386a4ff ICU-6695 Use realloc instead of malloc when increasing the size of the array and also update pointers to the new array. Increase the curCase value check to call code that were skipped during ucnvseltst.
X-SVN-Rev: 25289
2009-01-22 20:10:47 +00:00
Markus Scherer
6b0e32fd7c ICU-6453 fix/improve upvec_ serialization, require 32-bit-aligned serialization buffers, and clean up some code
X-SVN-Rev: 24870
2008-10-24 04:35:50 +00:00
Markus Scherer
9be9a82b08 ICU-6530 add UTrie2 and improve upvec_ via svn merge -r 24551:24849 icu/branches/markus/utf8
X-SVN-Rev: 24862
2008-10-22 19:50:07 +00:00
Michael Ow
13b807cf6f ICU-6412 Remove some unused variables.
X-SVN-Rev: 24692
2008-10-01 15:39:27 +00:00
Michael Ow
9d289d4570 ICU-6554 Implement proper freeing of allocated memory to avoid memory leak.
X-SVN-Rev: 24691
2008-10-01 14:14:13 +00:00
Michael Ow
21ff136d04 ICU-6412 Add newline at the end of ucnvseltst.c and add missing header file in nucnvtst.c to eliminate warning messages.
X-SVN-Rev: 24468
2008-08-07 21:22:54 +00:00
Steven R. Loomis
574f3de194 ICU-6453 update sel test to load data from the correct spot.
X-SVN-Rev: 24462
2008-08-07 00:14:52 +00:00
Steven R. Loomis
26259c8299 ICU-6453 update sel test to not crash when it cant find data.
X-SVN-Rev: 24459
2008-08-06 23:34:40 +00:00
David Bertoni
cba0fb208e ICU-6453 Updated Visual Studio project files. Fixed C++ comments in C source files. Fixed stack-overwrite bug.
X-SVN-Rev: 24455
2008-08-06 21:34:53 +00:00
Andy Heninger
ecdc0463b8 ICU-6453 Encoding Selection moved from development branch.
X-SVN-Rev: 24438
2008-08-04 21:56:02 +00:00