* installing *source* package 'MANOR' ...
** libs
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c Rnem_arg.c -o Rnem_arg.o
Rnem_arg.c:89:42: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
StatModelP->Para.Prop_K = GenAlloc( nk, sizeof(float),
˜˜˜˜˜˜˜˜ ^˜
Rnem_arg.c:91:45: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
StatModelP->Para.Disp_KD = GenAlloc( nk * DataP->NbVars, sizeof(float),
˜˜˜˜˜˜˜˜ ˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜
Rnem_arg.c:93:45: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
StatModelP->Para.Center_KD = GenAlloc( nk * DataP->NbVars, sizeof(float),
˜˜˜˜˜˜˜˜ ˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜
Rnem_arg.c:96:42: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
StatModelP->Para.NbObs_K = GenAlloc( nk, sizeof(float),
˜˜˜˜˜˜˜˜ ^˜
Rnem_arg.c:98:45: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
StatModelP->Para.NbObs_KD = GenAlloc( nk * DataP->NbVars, sizeof(float),
˜˜˜˜˜˜˜˜ ˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜
Rnem_arg.c:100:45: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
StatModelP->Para.Iner_KD = GenAlloc( nk * DataP->NbVars, sizeof(float),
˜˜˜˜˜˜˜˜ ˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜
Rnem_arg.c:103:49: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
StatModelP->Desc.DispSam_D = GenAlloc( DataP->NbVars, sizeof(float),
˜˜˜˜˜˜˜˜ ˜˜˜˜˜˜˜^˜˜˜˜˜
Rnem_arg.c:105:49: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
StatModelP->Desc.MiniSam_D = GenAlloc( DataP->NbVars, sizeof(float),
˜˜˜˜˜˜˜˜ ˜˜˜˜˜˜˜^˜˜˜˜˜
Rnem_arg.c:107:49: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
StatModelP->Desc.MaxiSam_D = GenAlloc( DataP->NbVars, sizeof(float),
˜˜˜˜˜˜˜˜ ˜˜˜˜˜˜˜^˜˜˜˜˜
Rnem_arg.c:119:29: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
NemParaP->BtaHeuStep = DEFAULT_BTAHEUSTEP ; /*V1.04-b*/
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
Rnem_arg.c:16:30: note: expanded from macro 'DEFAULT_BTAHEUSTEP'
#define DEFAULT_BTAHEUSTEP 0.1 /*V1.04-b*/
^˜˜
Rnem_arg.c:121:29: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
NemParaP->BtaHeuDDrop = DEFAULT_BTAHEUDDROP ;
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
Rnem_arg.c:18:30: note: expanded from macro 'DEFAULT_BTAHEUDDROP'
#define DEFAULT_BTAHEUDDROP 0.8 /*V1.04-b*/
^˜˜
Rnem_arg.c:123:29: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
NemParaP->BtaHeuLLoss = DEFAULT_BTAHEULLOSS ;
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
Rnem_arg.c:20:30: note: expanded from macro 'DEFAULT_BTAHEULLOSS'
#define DEFAULT_BTAHEULLOSS 0.02 /*V1.04-b*/
^˜˜˜
Rnem_arg.c:125:35: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
NemParaP->BtaPsGrad.ConvThres = DEFAULT_BTAGRADCVTH ;
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
Rnem_arg.c:22:30: note: expanded from macro 'DEFAULT_BTAGRADCVTH'
#define DEFAULT_BTAGRADCVTH 0.001 /*V1.06-f*/
^˜˜˜˜
Rnem_arg.c:129:29: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
NemParaP->CvThres = DEFAULT_CVTHRES ; /*V1.04-d*/
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜
Rnem_arg.c:26:30: note: expanded from macro 'DEFAULT_CVTHRES'
#define DEFAULT_CVTHRES 0.01 /*V1.04-d*/
^˜˜˜
14 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c Rnem_exe.c -o Rnem_exe.o
Rnem_exe.c:135:34: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if (( *SiteVisitVP = GenAlloc( Npt, sizeof( int ), 0,
˜˜˜˜˜˜˜˜ ^˜˜
Rnem_exe.c:201:28: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
GenAlloc( ErrinfoP->Km * ErrinfoP->Km, sizeof( float ),
˜˜˜˜˜˜˜˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜
Rnem_exe.c:206:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
GenAlloc( N * ErrinfoP->Kc, sizeof( float ),
˜˜˜˜˜˜˜˜ ˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜
Rnem_exe.c:259:44: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if( ( (*perms_Kfact_K_p) = malloc( Kfact * K * sizeof( int ) ) ) == NULL )
˜˜˜˜˜˜^˜˜ ˜
Rnem_exe.c:262:27: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion]
if( ( array_K = malloc( K * sizeof( int ) ) ) == NULL ) {
^ ˜
Rnem_exe.c:305:35: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
if ( ( redarr_am1 = malloc( ( A - 1 ) * sizeof( int ) ) ) == NULL )
˜˜^˜˜ ˜
Rnem_exe.c:418:18: warning: implicit conversion changes signedness: 'int' to 'StatusET' [-Wsign-conversion]
if ( ( err = SetVisitOrder( DataP->NbPts, /*V1.04-e*/
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
Rnem_exe.c:426:18: warning: implicit conversion changes signedness: 'int' to 'StatusET' [-Wsign-conversion]
if ( ( err = MakeErrinfo( NemParaP->RefName, DataP->NbPts,
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
Rnem_exe.c:437:22: warning: implicit conversion changes signedness: 'int' to 'StatusET' [-Wsign-conversion]
if ( ( err = ReadNeiFilePHUPE( NemParaP->NeighSpec , neidescS, SpatialP ) ) != STS_OK )
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
Rnem_exe.c:499:15: warning: implicit conversion changes signedness: 'int' to 'StatusET' [-Wsign-conversion]
err = SetImageNeigh( NeighSpec, NeiDescS, &SpatialP->NeighData ) ;
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
Rnem_exe.c:532:36: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if ( ( kmaxesV = GenAlloc( nk, sizeof( int ),
˜˜˜˜˜˜˜˜ ^˜
Rnem_exe.c:582:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
ClassifM = GenAlloc( Data.NbPts * StatModel.Spec.K, sizeof( float ), 0, "nem", "ClassifMP" ) ;
˜˜˜˜˜˜˜˜ ˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
12 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c exememo.c -o exememo.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c lib_io.c -o lib_io.o
lib_io.c:42:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int mlen = strlen( MarkerS ) ;
˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
lib_io.c:176:21: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion]
c = getchar() ;
˜ ^˜˜˜˜˜˜˜˜
lib_io.c:324:11: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
len = strlen( myline ) ;
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
3 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c nem_alg.c -o nem_alg.o
nem_alg.c:85:9: warning: 'MAXFLOAT' macro redefined
#define MAXFLOAT 3.40282347e+38F
^
/usr/include/architecture/i386/math.h:545:9: note: previous definition is here
#define MAXFLOAT ((float)3.40282346638528860e+38)
^
nem_alg.c:114:11: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
return atof( "nan" ) ;
˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:566:13: warning: implicit conversion changes signedness: 'int' to 'StatusET' [-Wsign-conversion]
sts = ClassifyByNemOneBeta( DataP, NemParaP, SpatialP,
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:572:13: warning: implicit conversion changes signedness: 'int' to 'StatusET' [-Wsign-conversion]
sts = ClassifyByNemHeuBeta( DataP, NemParaP, SpatialP,
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:693:36: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
DataP->SortPos_ND = GenAlloc( npt * nd, sizeof( int ),
˜˜˜˜˜˜˜˜ ˜˜˜˜^˜˜˜
nem_alg.c:697:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
tabptV = GenAlloc( npt, sizeof( SortPtT ), 1, func, "tabptV" ) ;
˜˜˜˜˜˜˜˜ ^˜˜
nem_alg.c:711:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
qsort( (void *) tabptV, npt, sizeof( SortPtT ), CompSortValue ) ;
˜˜˜˜˜ ^˜˜
nem_alg.c:714:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
qsort( (void *) tabptV, npt, sizeof( SortPtT ), CompSortNoNan ) ;
˜˜˜˜˜ ^˜˜
nem_alg.c:780:28: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
btaV = GenAlloc( nbtamax + 1 , sizeof( float ), 0, func, "btaV" ) ;
˜˜˜˜˜˜˜˜ ˜˜˜˜˜˜˜˜^˜˜
nem_alg.c:781:28: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
criV = GenAlloc( nbtamax + 1 , sizeof( float ), 0, func, "criV" ) ;
˜˜˜˜˜˜˜˜ ˜˜˜˜˜˜˜˜^˜˜
nem_alg.c:782:28: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
clasiniM = GenAlloc( npt * nk, sizeof( float ), 0, func, "clasiniM" ) ;
˜˜˜˜˜˜˜˜ ˜˜˜˜^˜˜˜
nem_alg.c:783:29: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
clasbestM = GenAlloc( npt * nk, sizeof( float ), 0, func, "clasbestM" ) ;
˜˜˜˜˜˜˜˜ ˜˜˜˜^˜˜˜
nem_alg.c:790:8: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
npt * nk * sizeof( float ) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
nem_alg.c:790:8: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
npt * nk * sizeof( float ) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
nem_alg.c:833:39: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( ClassifM, clasiniM, npt * nk * sizeof( float ) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
nem_alg.c:833:39: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( ClassifM, clasiniM, npt * nk * sizeof( float ) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
nem_alg.c:835:13: warning: implicit conversion changes signedness: 'int' to 'StatusET' [-Wsign-conversion]
sts = ClassifyByNemOneBeta( DataP, NemParaP, SpatialP,
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:879:14: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
npt * nk * sizeof( float ) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
nem_alg.c:879:14: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
npt * nk * sizeof( float ) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
nem_alg.c:888:8: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
npt * nk * sizeof( float ) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
nem_alg.c:888:8: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
npt * nk * sizeof( float ) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
nem_alg.c:900:38: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( clasbestM, ClassifM, npt * nk * sizeof( float ) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
nem_alg.c:900:38: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( clasbestM, ClassifM, npt * nk * sizeof( float ) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
nem_alg.c:923:14: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
npt * nk * sizeof( float ) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
nem_alg.c:923:14: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
npt * nk * sizeof( float ) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
nem_alg.c:963:37: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( ClassifM, clasiniM, npt * nk * sizeof( float ) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
nem_alg.c:963:37: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( ClassifM, clasiniM, npt * nk * sizeof( float ) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
nem_alg.c:968:38: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( ClassifM, clasbestM, npt * nk * sizeof( float ) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
nem_alg.c:968:38: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( ClassifM, clasbestM, npt * nk * sizeof( float ) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
nem_alg.c:1025:45: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
working.KmaxesV = GenAlloc( nk, sizeof( int ), 0, func, "KmaxesV" ) ;
˜˜˜˜˜˜˜˜ ^˜
nem_alg.c:1026:49: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
working.CtmpM = GenAlloc( npt * nk, sizeof( float ), 0, func, "CtmpM" ) ;
˜˜˜˜˜˜˜˜ ˜˜˜˜^˜˜˜
nem_alg.c:1027:49: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
working.ColdM = GenAlloc( npt * nk, sizeof( float ), 0, func, "ColdM" ) ;
˜˜˜˜˜˜˜˜ ˜˜˜˜^˜˜˜
nem_alg.c:1028:45: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
working.CiNumV = GenAlloc( nk, sizeof( double ), 0, func, "CiNumV" ) ;
˜˜˜˜˜˜˜˜ ^˜
nem_alg.c:1029:49: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
working.PkFkiM = GenAlloc( npt * nk, sizeof( double ), 0, func, "PkFkiM" ) ;
˜˜˜˜˜˜˜˜ ˜˜˜˜^˜˜˜
nem_alg.c:1030:49: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
working.LogPkFkiM = GenAlloc( npt * nk, sizeof( float ), 0, func, "LogPkFkiM" ) ;
˜˜˜˜˜˜˜˜ ˜˜˜˜^˜˜˜
nem_alg.c:1032:55: warning: implicit conversion changes signedness: 'const int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
working.Neighs.NeighsV = GenAlloc( SpatialP->MaxNeighs, sizeof( NeighT ),
˜˜˜˜˜˜˜˜ ˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜
nem_alg.c:1073:22: warning: implicit conversion changes signedness: 'int' to 'StatusET' [-Wsign-conversion]
if ( ( err = InitPartitionSort( DataP, nk,
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:1079:8: warning: implicit conversion changes signedness: 'int' to 'StatusET' [-Wsign-conversion]
err = MakeParaFromLabeled( DataP, ClassifM, & StatModelP->Spec,
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:1089:15: warning: implicit conversion changes signedness: 'int' to 'StatusET' [-Wsign-conversion]
err = NemAlgo( DataP, NemParaP, SpatialP, & StatModelP->Spec,
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:1105:8: warning: implicit conversion changes signedness: 'int' to 'StatusET' [-Wsign-conversion]
err = MakeParaFromLabeled( DataP, ClassifM, & StatModelP->Spec,
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:1111:15: warning: implicit conversion changes signedness: 'int' to 'StatusET' [-Wsign-conversion]
err = NemAlgo( DataP, NemParaP, SpatialP, & StatModelP->Spec,
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:1133:8: warning: implicit conversion changes signedness: 'int' to 'StatusET' [-Wsign-conversion]
err = MakeParaFromLabeled( DataP, ClassifM, & StatModelP->Spec,
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:1141:39: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
StatModelP->Para.Prop_K[ k ] = 1.0 / nk ; /*V1.05-b*/
˜ ˜˜˜˜^˜˜˜
nem_alg.c:1148:15: warning: implicit conversion changes signedness: 'int' to 'StatusET' [-Wsign-conversion]
err = NemAlgo( DataP, NemParaP, SpatialP, & StatModelP->Spec,
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:1170:15: warning: implicit conversion changes signedness: 'int' to 'StatusET' [-Wsign-conversion]
err = NemAlgo( DataP, NemParaP, SpatialP, & StatModelP->Spec,
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:1413:32: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
ParaP->Prop_K[ k ] = 1.0 / nk ; /*V1.03-e*/
˜ ˜˜˜˜^˜˜˜
nem_alg.c:1502:13: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
mult = exp( -((int) ( log(Npt/1000.)/log(10) )) * log( 10 ) ) ;
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:1525:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if ( ( tabptV = GenAlloc( npt, sizeof( SortPtT ),
˜˜˜˜˜˜˜˜ ^˜˜
nem_alg.c:1539:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
qsort( (void *) tabptV, npt, sizeof( SortPtT ), CompSortValue ) ;
˜˜˜˜˜ ^˜˜
nem_alg.c:1542:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
qsort( (void *) tabptV, npt, sizeof( SortPtT ), CompSortNoNan ) ;
˜˜˜˜˜ ^˜˜
nem_alg.c:1637:34: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if ( ( bestClM = GenAlloc( npt * nk, sizeof(float),
˜˜˜˜˜˜˜˜ ˜˜˜˜^˜˜˜
nem_alg.c:1641:36: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if ( ( bestCen_KD = GenAlloc( nk * nd, sizeof(float),
˜˜˜˜˜˜˜˜ ˜˜˜^˜˜˜
nem_alg.c:1645:36: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if ( ( bestDis_KD = GenAlloc( nk * nd, sizeof(float),
˜˜˜˜˜˜˜˜ ˜˜˜^˜˜˜
nem_alg.c:1694:11: warning: implicit conversion changes signedness: 'int' to 'StatusET' [-Wsign-conversion]
err = NemAlgo( DataP, NemParaP, SpatialP, SpecP, DescP,
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:1708:44: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( bestClM, ClassifM, npt * nk * sizeof(float) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
nem_alg.c:1708:44: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( bestClM, ClassifM, npt * nk * sizeof(float) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
nem_alg.c:1722:37: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( bestClM, ClassifM, npt * nk * sizeof(float) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
nem_alg.c:1722:37: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( bestClM, ClassifM, npt * nk * sizeof(float) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
nem_alg.c:1723:47: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( bestCen_KD, ParaP->Center_KD, nk * nd * sizeof(float) );
˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
nem_alg.c:1723:47: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( bestCen_KD, ParaP->Center_KD, nk * nd * sizeof(float) );
˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
nem_alg.c:1724:45: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( bestDis_KD, ParaP->Disp_KD, nk * nd * sizeof(float) );
˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
nem_alg.c:1724:45: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( bestDis_KD, ParaP->Disp_KD, nk * nd * sizeof(float) );
˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
nem_alg.c:1736:36: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( ClassifM, bestClM, npt * nk * sizeof(float) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
nem_alg.c:1736:36: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( ClassifM, bestClM, npt * nk * sizeof(float) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
nem_alg.c:1740:46: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( ParaP->Center_KD, bestCen_KD, nk * nd * sizeof(float) );
˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
nem_alg.c:1740:46: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( ParaP->Center_KD, bestCen_KD, nk * nd * sizeof(float) );
˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
nem_alg.c:1741:46: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( ParaP->Disp_KD, bestDis_KD, nk * nd * sizeof(float) );
˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
nem_alg.c:1741:46: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( ParaP->Disp_KD, bestDis_KD, nk * nd * sizeof(float) );
˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
nem_alg.c:1828:39: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( WorkP->ColdM, CM, npt * nk * sizeof( float ) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
nem_alg.c:1828:39: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( WorkP->ColdM, CM, npt * nk * sizeof( float ) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
nem_alg.c:2127:12: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
critdif = fabs( ( curcrit - OldCrit ) / curcrit ) ;
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:2208:11: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
exp_ik = exp( (*BetaP) * con_ik ) ;
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:2353:12: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
logpk = log( pk ) ;
˜ ^˜˜˜˜˜˜˜˜
nem_alg.c:2356:14: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
logpk = atof( "-Inf" ) ;
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:2395:13: warning: implicit conversion changes signedness: 'int' to 'StatusET' [-Wsign-conversion]
sts = ComputePartitionGEM( SpecP, ParaP, DataP, SpatialP, NemParaP,
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:2400:13: warning: implicit conversion changes signedness: 'int' to 'StatusET' [-Wsign-conversion]
sts = ComputePartitionNEM( SpecP, ParaP, DataP, SpatialP, NemParaP,
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:2438:18: warning: implicit conversion changes signedness: 'int' to 'StatusET' [-Wsign-conversion]
if ( ( err = GetSpatialFunc( SpatialP->Type,
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:2449:32: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( ctmpM, CM, npt * nk * sizeof( float ) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
nem_alg.c:2449:32: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( ctmpM, CM, npt * nk * sizeof( float ) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
nem_alg.c:2524:18: warning: implicit conversion changes signedness: 'int' to 'StatusET' [-Wsign-conversion]
if ( ( err = GetSpatialFunc( SpatialP->Type,
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:2532:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if ( ( z_nk = GenAlloc( npt * nk, sizeof( float ),
˜˜˜˜˜˜˜˜ ˜˜˜˜^˜˜˜
nem_alg.c:2536:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if ( ( occur_nk = GenAlloc( npt * nk, sizeof( int ),
˜˜˜˜˜˜˜˜ ˜˜˜˜^˜˜˜
nem_alg.c:2567:34: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( ctmpM, z_nk, npt * nk * sizeof( float ) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
nem_alg.c:2567:34: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( ctmpM, z_nk, npt * nk * sizeof( float ) ) ;
˜˜˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
nem_alg.c:2676:21: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
Cout_K[ k ] = invZ * Cinum_K[ k ] ;
˜ ˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:2682:21: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
Cout_K[ k ] = invZ * ( Cinum_K[ k ] / EPSILON ) ;
˜ ˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:2689:21: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
Cout_K[ k ] = invZ ;
˜ ^˜˜˜
nem_alg.c:2722:12: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
mult = exp( - ((int) ( log(Npt/1000.)/log(10) )) * log( 10 ) ) ;
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:2778:18: warning: implicit conversion changes signedness: 'int' to 'StatusET' [-Wsign-conversion]
if ( ( err = GetSpatialFunc( SpatialP->Type,
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:2813:33: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
float dik = cik * ( logpkfki - log( cik ) ) ;
˜˜˜ ˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:2822:14: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
zi = zi + exp( Beta * pik ) ;
˜ ˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:2826:26: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
CriterP->L = CriterP->L + log( fi ) ;
˜ ˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜
nem_alg.c:2827:26: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
CriterP->Z = CriterP->Z - log( zi ) ;
˜ ˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜
nem_alg.c:2832:29: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
CriterP->U = CriterP->D + 0.5 * Beta * CriterP->G ; /*V1.05-k*/
˜ ˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_alg.c:2877:25: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
kmaxes_Kc = GenAlloc( Kc, sizeof( int ), 0, "CalcError", "kmaxes_Kc" ) ;
˜˜˜˜˜˜˜˜ ^˜
nem_alg.c:2882:36: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( Loclas_N_Kc, Cla_N_Kc, N * Kc * sizeof(float) ) ;
˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
nem_alg.c:2882:36: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( Loclas_N_Kc, Cla_N_Kc, N * Kc * sizeof(float) ) ;
˜˜^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
97 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c nem_hlp.c -o nem_hlp.o
nem_hlp.c:95:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
fprintf( F , "Van M<9F> Dang\n" ) ;
^˜˜˜
1 warning generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c nem_mod.c -o nem_mod.o
nem_mod.c:51:9: warning: 'MAXFLOAT' macro redefined
#define MAXFLOAT 3.40282347e+38F
^
/usr/include/architecture/i386/math.h:545:9: note: previous definition is here
#define MAXFLOAT ((float)3.40282346638528860e+38)
^
nem_mod.c:539:32: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
ParaP->Prop_K[ k ] = 1.0 / Nk ;
˜ ˜˜˜˜^˜˜˜
nem_mod.c:598:17: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
log_2pi_disp = log( TWO_PI * disp ) ;
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_mod.c:612:28: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
float logfkid = - 0.5 * ( log_2pi_disp + ( dif * dif ) / disp ) ;
˜˜˜˜˜˜˜ ˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_mod.c:678:15: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
log_2_disp = log( 2 * disp ) ;
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_mod.c:692:35: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
float logfkid = - log_2_disp - fabs( dif ) / disp ;
˜˜˜˜˜˜˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_mod.c:743:33: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
float log_1_minus_disp = log( 1 - disp ) ;
˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_mod.c:747:13: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
log_disp = log( disp ) ;
˜ ^˜˜˜˜˜˜˜˜˜˜
nem_mod.c:1116:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
sumdata_KD = GenAlloc( K * D, sizeof(float), 1, func, "sumdata" ) ;
˜˜˜˜˜˜˜˜ ˜˜^˜˜
nem_mod.c:1117:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
sumsquare_KD = GenAlloc( K * D, sizeof(float), 1, func, "sumsquare" );
˜˜˜˜˜˜˜˜ ˜˜^˜˜
nem_mod.c:1118:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
oldmean_KD = GenAlloc( K * D, sizeof(float), 1, func, "oldmean" ) ;
˜˜˜˜˜˜˜˜ ˜˜^˜˜
nem_mod.c:1121:41: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( oldmean_KD , OldNewCen_KD , K * D * sizeof( float ) ) ;
˜˜^˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
nem_mod.c:1121:41: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( oldmean_KD , OldNewCen_KD , K * D * sizeof( float ) ) ;
˜˜^˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
nem_mod.c:1578:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
oldcent_KD = GenAlloc( K * D, sizeof(float), 1, func, "oldcent_KD" ) ;
˜˜˜˜˜˜˜˜ ˜˜^˜˜
nem_mod.c:1581:41: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( oldcent_KD , OldNewCen_KD , K * D * sizeof( float ) ) ;
˜˜^˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
nem_mod.c:1581:41: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( oldcent_KD , OldNewCen_KD , K * D * sizeof( float ) ) ;
˜˜^˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
nem_mod.c:1809:22: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
(*MedvalP) = 0.5 * ( X_ND[ posmed * D + J ] + X_ND[ posnext * D + J ] ) ;
˜ ˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_mod.c:1939:16: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
res = Cen0 + direction * Disp0 * log( 1 - ( weidif + intwei ) / Nmis ) ;
˜ ˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
nem_mod.c:1968:5: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
- Nmis * ( 1 - exp( - fabs( Y - Cen0 ) / Disp0 ) ) ;
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
19 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c nem_nei.c -o nem_nei.o
nem_nei.c:138:48: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( PtNeighsP->NeighsV, ptnP->NeighsV, nbn * sizeof( NeighT ) );
^˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
nem_nei.c:138:48: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy( PtNeighsP->NeighsV, ptnP->NeighsV, nbn * sizeof( NeighT ) );
^˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
2 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c nem_rnd.c -o nem_rnd.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -ggdb -O0 -Wall -pedantic -Wconversion -c nem_ver.c -o nem_ver.o
clang -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -L/usr/local/lib -o MANOR.so Rnem_arg.o Rnem_exe.o exememo.o lib_io.o nem_alg.o nem_hlp.o nem_mod.o nem_nei.o nem_rnd.o nem_ver.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Users/biocbuild/bbs-2.12-bioc/meat/MANOR.Rcheck/MANOR/libs
** R
** data
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (MANOR)