ICU-13048 fixes to make internal header test pass.

X-SVN-Rev: 39853
This commit is contained in:
Norbert Runge 2017-03-17 21:42:57 +00:00
parent a0c9b06810
commit 3d996441e7
4 changed files with 16 additions and 10 deletions

View file

@ -15,6 +15,9 @@
#define __DTPTNGEN_IMPL_H__
#include "unicode/udatpg.h"
#include "unicode/strenum.h"
#include "unicode/unistr.h"
#include "uvector.h"
// TODO(claireho): Split off Builder class.

View file

@ -16,6 +16,7 @@
#ifndef SMPDTFST_H
#define SMPDTFST_H
#include "unicode/uobject.h"
#include "unicode/utypes.h"
#if !UCONFIG_NO_FORMATTING

View file

@ -25,6 +25,8 @@
#if !UCONFIG_NO_CONVERSION
#include <stdio.h>
#include "unicode/ucnv.h"
#include "unicode/utrans.h"
#include "locbund.h"

View file

@ -15,21 +15,21 @@ for file in `ls common/*.h`; do
echo $file
echo '#include "'$file'"' > ht_temp.cpp ;
echo 'void noop() {}' >> ht_temp.cpp ;
$CXX -c -I common -O0 ht_temp.cpp ;
$CXX -c -std=c++11 -I common -O0 ht_temp.cpp ;
done ;
for file in `ls i18n/*.h`; do
echo $file
echo '#include "'$file'"' > ht_temp.cpp ;
echo 'void noop() {}' >> ht_temp.cpp ;
$CXX -c -I common -I i18n -O0 ht_temp.cpp ;
$CXX -c -std=c++11 -I common -I i18n -O0 ht_temp.cpp ;
done ;
for file in `ls io/*.h`; do
echo $file
echo '#include "'$file'"' > ht_temp.cpp ;
echo 'void noop() {}' >> ht_temp.cpp ;
$CXX -c -I common -I i18n -I io -O0 ht_temp.cpp ;
$CXX -c -std=c++11 -I common -I i18n -I io -O0 ht_temp.cpp ;
done ;
# layout is removed.
@ -50,7 +50,7 @@ for file in `ls tools/toolutil/*.h`; do
echo $file
echo '#include "'$file'"' > ht_temp.cpp ;
echo 'void noop() {}' >> ht_temp.cpp ;
$CXX -c -I common -I i18n -I io -I tools/toolutil -O0 ht_temp.cpp ;
$CXX -c -std=c++11 -I common -I i18n -I io -I tools/toolutil -O0 ht_temp.cpp ;
done ;
# Exclude tzcode: tools/tzcode/private.h uses an argument "new" in a function declaration.
@ -64,7 +64,7 @@ for tool in genccode gencmn gencolusb gennorm2 genren gentest icupkg icuswap pkg
echo $file
echo '#include "'$file'"' > ht_temp.cpp ;
echo 'void noop() {}' >> ht_temp.cpp ;
$CXX -c -I common -I i18n -I io -I tools/toolutil -I tools/$tool -O0 ht_temp.cpp ;
$CXX -c -std=c++11 -I common -I i18n -I io -I tools/toolutil -I tools/$tool -O0 ht_temp.cpp ;
done ;
done ;
@ -74,15 +74,15 @@ for file in `ls tools/ctestfw/unicode/*.h`; do
echo $file
echo '#include "'$file'"' > ht_temp.cpp ;
echo 'void noop() {}' >> ht_temp.cpp ;
$CXX -c -I common -I i18n -I io -I tools/toolutil -I tools/ctestfw -O0 ht_temp.cpp ;
$CXX -c -std=c++11 -I common -I i18n -I io -I tools/toolutil -I tools/ctestfw -O0 ht_temp.cpp ;
done ;
# C not C++ for cintltst
for file in `ls test/cintltst/*.h`; do
echo $file
echo '#include "'$file'"' > ht_temp.cpp ;
echo 'void noop() {}' >> ht_temp.cpp ;
$CC -c -I common -I i18n -I io -I tools/toolutil -I tools/ctestfw -I test/cintltst -O0 ht_temp.cpp ;
echo '#include "'$file'"' > ht_temp.c ;
echo 'void noop() {}' >> ht_temp.c ;
$CC -c -std=c11 -I common -I i18n -I io -I tools/toolutil -I tools/ctestfw -I test/cintltst -O0 ht_temp.c ;
done ;
for test in intltest iotest testmap thaitest; do
@ -90,7 +90,7 @@ for test in intltest iotest testmap thaitest; do
echo $file
echo '#include "'$file'"' > ht_temp.cpp ;
echo 'void noop() {}' >> ht_temp.cpp ;
$CXX -c -I common -I i18n -I io -I tools/toolutil -I tools/ctestfw -I test/$test -O0 ht_temp.cpp ;
$CXX -c -std=c++11 -I common -I i18n -I io -I tools/toolutil -I tools/ctestfw -I test/$test -O0 ht_temp.cpp ;
done ;
done ;