Fredrik Roubert
b4b2378931
ICU-20601 Wrap ICU test compound macros in do { } while.
...
This does the same for the ICU test code as was done for the
public ICU API in commit 480bec3ea6
.
2019-08-15 22:01:42 +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
db05e18f28
ICU-20157 Fix MSVC C4251: Need to export explicit template instantiation, plus some more warning fixes. ( #154 )
...
* Fix MSVC C4251: Need to export explicit template instantiation for std::atomic<int32_t> when building DLLs
* Some more warning fixes for MSVC as well.
* Can't use static_cast in C file.
2018-09-27 14:27:41 -07:00
Andy Heninger
04448b004f
ICU-12764 UTF-8 source files, update file encoding comments.
...
X-SVN-Rev: 39641
2017-02-03 18:57:23 +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
Fredrik Roubert
7f4b8d106b
ICU-12012 Replace all sizeof p / sizeof *p with UPRV_LENGTHOF().
...
R=markus.icu@gmail.com
Review URL: https://codereview.appspot.com/285520043 .
X-SVN-Rev: 38337
2016-02-23 10:40:09 +00:00
Andy Heninger
b3c29ef95e
ICU-11428 Various compiler warning fixes.
...
X-SVN-Rev: 36903
2014-12-19 23:41:18 +00:00
Steven R. Loomis
f2844dc9e1
ICU-10028 u_finit and u_fadopt test
...
X-SVN-Rev: 34184
2013-09-04 06:19:26 +00:00
Andy Heninger
1f65c0e70a
ICU-10048 Compiler warning cleanup.
...
X-SVN-Rev: 33445
2013-03-21 05:48:52 +00:00
Michael Ow
310c23c24e
ICU-8578 Apply patch to fix some compiler warnings and related issues
...
X-SVN-Rev: 30205
2011-06-10 18:56:08 +00:00
Markus Scherer
d743bb693e
ICU-8319 merge MessageFormat 2011q1 work into trunk, from icu/branches/markus/msg48 -r 29400:29882
...
X-SVN-Rev: 29886
2011-04-25 20:47:32 +00:00
Steven R. Loomis
9bc3d2bfdb
ICU-7891 fix u_fflush to flush stateful converters
...
X-SVN-Rev: 28474
2010-08-15 02:43:46 +00:00
Steven R. Loomis
d159b81c9f
ICU-7482 fix ASCIIsm in filetst
...
X-SVN-Rev: 27773
2010-03-04 00:11:29 +00:00
Michael Ow
dc88968faf
ICU-5621 Apply patch for u_finit.
...
X-SVN-Rev: 27163
2010-01-07 20:36:40 +00:00
Jason Spieth
eaab373af7
ICU-6592 Integrated patch
...
X-SVN-Rev: 25036
2008-12-02 19:45:13 +00:00
Eric Mader
1692956180
ICU-6337 Remove stale debugging code.
...
X-SVN-Rev: 24174
2008-06-13 19:47:46 +00:00
Eric Mader
8b8e11bb47
ICU-6337 Add callback to initArgs to handle unknown options. Change iotest to take the STANDARD_TEST_FILE name from the argument list.
...
X-SVN-Rev: 24158
2008-06-12 01:01:00 +00:00
George Rhoten
f1c3ea3982
ICU-5366 Allow this test to work in non-English locales.
...
X-SVN-Rev: 20633
2006-11-07 08:18:16 +00:00
George Rhoten
dbdf6e8019
ICU-5333 Whitespace changes.
...
X-SVN-Rev: 20119
2006-08-20 05:08:35 +00:00
George Rhoten
79be730203
ICU-4527 Porting fix for Linux
...
X-SVN-Rev: 19694
2006-06-08 03:17:05 +00:00
George Rhoten
ad959a3e4d
ICU-4527 Fix "%.*G" for printf
...
X-SVN-Rev: 19692
2006-06-07 04:42:25 +00:00
George Rhoten
3b6078d331
ICU-4707 Fix some compiler warnings
...
X-SVN-Rev: 19661
2006-05-26 05:34:26 +00:00
George Rhoten
83097bf105
ICU-5025 %f, %e and %g for scanf should expect a float by default.
...
X-SVN-Rev: 19457
2006-03-27 17:55:32 +00:00
George Rhoten
fd61097662
ICU-4827 MSVC.NET 2005 beta2 has a broken %n implementation. Use ICU's results instead, and hard code what is expected.
...
X-SVN-Rev: 18628
2005-10-05 07:54:18 +00:00
Steven R. Loomis
db04e06f4e
ICU-4620 test fixes for uconfig.h
...
X-SVN-Rev: 18183
2005-07-09 03:15:06 +00:00
George Rhoten
cdccbad7a5
ICU-4288 Fix some compiler warnings.
...
X-SVN-Rev: 18108
2005-07-01 04:25:15 +00:00
George Rhoten
d7cc623449
ICU-4605 Increase code coverage. Make sure that precision is ignored for %c and %C.
...
X-SVN-Rev: 18092
2005-06-29 23:35:17 +00:00
George Rhoten
cee8cfb8c3
ICU-4605 Return U_EOF, and not the platform dependent EOF.
...
X-SVN-Rev: 18080
2005-06-28 23:23:39 +00:00
George Rhoten
583cab294a
ICU-4605 Increase code coverage.
...
X-SVN-Rev: 18076
2005-06-28 21:36:33 +00:00
George Rhoten
f4cc6ad24c
ICU-4271 Fix and test fgets buffer overrun.
...
X-SVN-Rev: 18064
2005-06-27 06:47:17 +00:00
George Rhoten
0df92dfa17
ICU-4270 Better handle and test fgets newlines.
...
X-SVN-Rev: 18063
2005-06-27 06:13:34 +00:00
George Rhoten
51d2f74bc1
ICU-4222 Make sure that the transliterator works on strings,
...
and make sure that the transliterator flushes independently from IO flushing.
X-SVN-Rev: 17990
2005-06-23 07:10:52 +00:00
Steven R. Loomis
e3f6bd5606
ICU-4218 uconfig.h fixes.
...
X-SVN-Rev: 16817
2004-11-10 22:30:29 +00:00
George Rhoten
e312467f5d
ICU-3905 Fix some compiler warnings
...
X-SVN-Rev: 16775
2004-11-05 19:07:34 +00:00
George Rhoten
d078ffb611
ICU-4125 Fix a test typo
...
X-SVN-Rev: 16412
2004-10-07 07:51:11 +00:00
George Rhoten
3c0f436a67
ICU-4109 Fix a buffer overflow bug.
...
X-SVN-Rev: 16360
2004-09-27 16:34:29 +00:00
George Rhoten
c6099fb59d
ICU-3720 Make it possible to read from stdin.
...
Can't easily automate this test case
X-SVN-Rev: 16153
2004-08-13 17:05:00 +00:00
George Rhoten
7dc0bc6c07
ICU-2641 Return the right number when scanf is at the end of file,
...
and increase the code coverage of similar cases.
X-SVN-Rev: 16151
2004-08-13 08:05:43 +00:00
George Rhoten
4158c53796
ICU-3831 uconfig.h fixes with a more natural test order
...
X-SVN-Rev: 15845
2004-06-11 00:44:54 +00:00
Steven R. Loomis
ac2f97b772
ICU-3831 uconfig.h fixes
...
X-SVN-Rev: 15843
2004-06-10 23:56:37 +00:00
George Rhoten
5e12578fbf
ICU-3499 Fix some compiler warnings
...
X-SVN-Rev: 15637
2004-05-30 09:24:44 +00:00
George Rhoten
888d4e6d4d
ICU-3499 Fix some EBCDIC related failures.
...
X-SVN-Rev: 15631
2004-05-28 23:49:27 +00:00
George Rhoten
1299e773b0
ICU-3499 Increase code coverage.
...
X-SVN-Rev: 15602
2004-05-28 00:16:49 +00:00
George Rhoten
7f39c99522
ICU-3499 Remove bad formats.
...
X-SVN-Rev: 15600
2004-05-27 23:57:13 +00:00
George Rhoten
6c416836d5
ICU-3499 Fix some scanf issues when width is specified for any string type.
...
X-SVN-Rev: 15574
2004-05-27 04:18:30 +00:00
George Rhoten
2bd13a291a
ICU-3499 Fix an EBCDIC issue.
...
X-SVN-Rev: 15563
2004-05-26 19:56:52 +00:00
George Rhoten
9e94e1ff84
ICU-3499 os/400 does not handle the dash as expected in sscanf scanset.
...
Move %[a-f] and similar tests to data driven tests.
X-SVN-Rev: 15562
2004-05-26 19:22:00 +00:00