Created
September 3, 2013 05:23
-
-
Save andreabedini/6419975 to your computer and use it in GitHub Desktop.
warnings I get compiling hdf5-1.8.11/src/H5detect.c with gcc-4.8.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Script started on Tue 03 Sep 2013 14:49:11 EST | |
CC H5detect-H5detect.o | |
../../src/H5detect.c:115:19: warning: size of ‘d_g’ is 12800 bytes [-Wlarger-than=] | |
static detected_t d_g[MAXDETECT]; | |
^ | |
In file included from ../../src/H5detect.c:57:0: | |
../../src/H5detect.c: In function ‘find_bias’: | |
../../src/H5private.h:309:38: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] | |
#define MIN(a,b) (((a)<(b)) ? (a) : (b)) | |
^ | |
../../src/H5detect.c:1110:10: note: in expansion of macro ‘MIN’ | |
nbits = MIN(esize, (8 - epos % 8)); | |
^ | |
../../src/H5detect.c:1111:22: warning: conversion to ‘unsigned char’ from ‘int’ may alter its value [-Wconversion] | |
mask = (1 << nbits) - 1; | |
^ | |
../../src/H5detect.c:1112:40: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] | |
b = (a[perm[epos / 8]] >> (epos % 8)) & mask; | |
^ | |
../../src/H5detect.c:1116:2: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] | |
esize -= nbits; | |
^ | |
../../src/H5detect.c:1116:8: warning: conversion to ‘int’ from ‘long unsigned int’ may alter its value [-Wconversion] | |
esize -= nbits; | |
^ | |
../../src/H5detect.c:1117:2: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] | |
epos += nbits; | |
^ | |
../../src/H5detect.c:1117:7: warning: conversion to ‘int’ from ‘long unsigned int’ may alter its value [-Wconversion] | |
epos += nbits; | |
^ | |
../../src/H5detect.c: In function ‘detect_C89_integers’: | |
../../src/H5detect.c:246:27: warning: conversion to ‘signed char’ from ‘int’ may alter its value [-Wconversion] | |
_v = (_v << 8) + _i; \ | |
^ | |
../../src/H5detect.c:1282:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(signed char, SCHAR, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1282:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(signed char, SCHAR, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1282:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(signed char, SCHAR, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:246:27: warning: conversion to ‘unsigned char’ from ‘int’ may alter its value [-Wconversion] | |
_v = (_v << 8) + _i; \ | |
^ | |
../../src/H5detect.c:1283:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(unsigned char, UCHAR, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1283:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(unsigned char, UCHAR, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1283:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(unsigned char, UCHAR, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:246:27: warning: conversion to ‘short int’ from ‘int’ may alter its value [-Wconversion] | |
_v = (_v << 8) + _i; \ | |
^ | |
../../src/H5detect.c:1284:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(short, SHORT, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1284:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(short, SHORT, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1284:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(short, SHORT, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:246:27: warning: conversion to ‘short unsigned int’ from ‘int’ may alter its value [-Wconversion] | |
_v = (_v << 8) + _i; \ | |
^ | |
../../src/H5detect.c:1285:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(unsigned short, USHORT, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1285:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(unsigned short, USHORT, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1285:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(unsigned short, USHORT, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1286:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int, INT, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1286:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int, INT, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:1287:5: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] | |
DETECT_I(unsigned int, UINT, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1287:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(unsigned int, UINT, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1287:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(unsigned int, UINT, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1288:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(long, LONG, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1288:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(long, LONG, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:1289:5: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] | |
DETECT_I(unsigned long, ULONG, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1289:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(unsigned long, ULONG, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1289:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(unsigned long, ULONG, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c: In function ‘detect_C89_floats’: | |
../../src/H5detect.c:1310:5: warning: passing argument 1 of ‘memset’ discards ‘volatile’ qualifier from pointer target type [enabled by default] | |
DETECT_F(float, FLOAT, d_g[nd_g]); nd_g++; | |
^ | |
In file included from ../../src/H5private.h:61:0, | |
from ../../src/H5detect.c:57: | |
/usr/include/string.h:65:14: note: expected ‘void *’ but argument is of type ‘volatile float *’ | |
extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); | |
^ | |
../../src/H5detect.c:1310:5: warning: passing argument 1 of ‘memset’ discards ‘volatile’ qualifier from pointer target type [enabled by default] | |
DETECT_F(float, FLOAT, d_g[nd_g]); nd_g++; | |
^ | |
In file included from ../../src/H5private.h:61:0, | |
from ../../src/H5detect.c:57: | |
/usr/include/string.h:65:14: note: expected ‘void *’ but argument is of type ‘volatile float *’ | |
extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); | |
^ | |
../../src/H5detect.c:1310:5: warning: passing argument 1 of ‘memset’ discards ‘volatile’ qualifier from pointer target type [enabled by default] | |
DETECT_F(float, FLOAT, d_g[nd_g]); nd_g++; | |
^ | |
In file included from ../../src/H5private.h:61:0, | |
from ../../src/H5detect.c:57: | |
/usr/include/string.h:65:14: note: expected ‘void *’ but argument is of type ‘volatile float *’ | |
extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); | |
^ | |
../../src/H5detect.c:1310:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
DETECT_F(float, FLOAT, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:1310:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:1310:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:313:11: warning: implicit conversion from ‘float’ to ‘double’ to match other operand of binary expression [-Wdouble-promotion] | |
_v2 /= 256.0; \ | |
^ | |
../../src/H5detect.c:1310:5: note: in expansion of macro ‘DETECT_F’ | |
DETECT_F(float, FLOAT, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:313:11: warning: conversion to ‘float’ from ‘double’ may alter its value [-Wconversion] | |
_v2 /= 256.0; \ | |
^ | |
../../src/H5detect.c:1310:5: note: in expansion of macro ‘DETECT_F’ | |
DETECT_F(float, FLOAT, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:314:21: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf1, (const void *)&_v1, sizeof(TYPE)); \ | |
^ | |
../../src/H5detect.c:1310:5: note: in expansion of macro ‘DETECT_F’ | |
DETECT_F(float, FLOAT, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:315:21: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf3, (const void *)&_v3, sizeof(TYPE)); \ | |
^ | |
../../src/H5detect.c:1310:5: note: in expansion of macro ‘DETECT_F’ | |
DETECT_F(float, FLOAT, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:322:46: warning: to be safe all intermediate pointers in cast from ‘char **’ to ‘const char **’ must be ‘const’ qualified [-Wcast-qual] | |
fix_order(sizeof(TYPE), _last, INFO.perm, (const char**)&_mesg); \ | |
^ | |
../../src/H5detect.c:1310:5: note: in expansion of macro ‘DETECT_F’ | |
DETECT_F(float, FLOAT, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:1310:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:1310:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:1310:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:1310:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:1310:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:1310:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:1310:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:1310:5: warning: passing argument 4 of ‘find_bias’ discards ‘volatile’ qualifier from pointer target type [enabled by default] | |
../../src/H5detect.c:1103:1: note: expected ‘void *’ but argument is of type ‘volatile float *’ | |
find_bias(int epos, int esize, int *perm, void *_a) | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:353:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1310:5: note: in expansion of macro ‘DETECT_F’ | |
DETECT_F(float, FLOAT, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:353:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1310:5: note: in expansion of macro ‘DETECT_F’ | |
DETECT_F(float, FLOAT, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:419:9: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] | |
if(_val!=_val2) \ | |
^ | |
../../src/H5detect.c:353:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1310:5: note: in expansion of macro ‘DETECT_F’ | |
DETECT_F(float, FLOAT, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:1311:5: warning: passing argument 1 of ‘memset’ discards ‘volatile’ qualifier from pointer target type [enabled by default] | |
DETECT_F(double, DOUBLE, d_g[nd_g]); nd_g++; | |
^ | |
In file included from ../../src/H5private.h:61:0, | |
from ../../src/H5detect.c:57: | |
/usr/include/string.h:65:14: note: expected ‘void *’ but argument is of type ‘volatile double *’ | |
extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); | |
^ | |
../../src/H5detect.c:1311:5: warning: passing argument 1 of ‘memset’ discards ‘volatile’ qualifier from pointer target type [enabled by default] | |
DETECT_F(double, DOUBLE, d_g[nd_g]); nd_g++; | |
^ | |
In file included from ../../src/H5private.h:61:0, | |
from ../../src/H5detect.c:57: | |
/usr/include/string.h:65:14: note: expected ‘void *’ but argument is of type ‘volatile double *’ | |
extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); | |
^ | |
../../src/H5detect.c:1311:5: warning: passing argument 1 of ‘memset’ discards ‘volatile’ qualifier from pointer target type [enabled by default] | |
DETECT_F(double, DOUBLE, d_g[nd_g]); nd_g++; | |
^ | |
In file included from ../../src/H5private.h:61:0, | |
from ../../src/H5detect.c:57: | |
/usr/include/string.h:65:14: note: expected ‘void *’ but argument is of type ‘volatile double *’ | |
extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); | |
^ | |
../../src/H5detect.c:1311:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
DETECT_F(double, DOUBLE, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:1311:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:1311:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:314:21: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf1, (const void *)&_v1, sizeof(TYPE)); \ | |
^ | |
../../src/H5detect.c:1311:5: note: in expansion of macro ‘DETECT_F’ | |
DETECT_F(double, DOUBLE, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:315:21: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf3, (const void *)&_v3, sizeof(TYPE)); \ | |
^ | |
../../src/H5detect.c:1311:5: note: in expansion of macro ‘DETECT_F’ | |
DETECT_F(double, DOUBLE, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:322:46: warning: to be safe all intermediate pointers in cast from ‘char **’ to ‘const char **’ must be ‘const’ qualified [-Wcast-qual] | |
fix_order(sizeof(TYPE), _last, INFO.perm, (const char**)&_mesg); \ | |
^ | |
../../src/H5detect.c:1311:5: note: in expansion of macro ‘DETECT_F’ | |
DETECT_F(double, DOUBLE, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:1311:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:1311:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:1311:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:1311:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:1311:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:1311:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:1311:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:1311:5: warning: passing argument 4 of ‘find_bias’ discards ‘volatile’ qualifier from pointer target type [enabled by default] | |
../../src/H5detect.c:1103:1: note: expected ‘void *’ but argument is of type ‘volatile double *’ | |
find_bias(int epos, int esize, int *perm, void *_a) | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:353:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1311:5: note: in expansion of macro ‘DETECT_F’ | |
DETECT_F(double, DOUBLE, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:353:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1311:5: note: in expansion of macro ‘DETECT_F’ | |
DETECT_F(double, DOUBLE, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:419:9: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] | |
if(_val!=_val2) \ | |
^ | |
../../src/H5detect.c:353:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1311:5: note: in expansion of macro ‘DETECT_F’ | |
DETECT_F(double, DOUBLE, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c: In function ‘detect_C99_integers8’: | |
../../src/H5detect.c:246:27: warning: conversion to ‘int8_t’ from ‘int’ may alter its value [-Wconversion] | |
_v = (_v << 8) + _i; \ | |
^ | |
../../src/H5detect.c:1333:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int8_t, INT8, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1333:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int8_t, INT8, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1333:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int8_t, INT8, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:246:27: warning: conversion to ‘uint8_t’ from ‘int’ may alter its value [-Wconversion] | |
_v = (_v << 8) + _i; \ | |
^ | |
../../src/H5detect.c:1336:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint8_t, UINT8, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1336:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint8_t, UINT8, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1336:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint8_t, UINT8, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:246:27: warning: conversion to ‘int_least8_t’ from ‘int’ may alter its value [-Wconversion] | |
_v = (_v << 8) + _i; \ | |
^ | |
../../src/H5detect.c:1339:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int_least8_t, INT_LEAST8, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1339:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int_least8_t, INT_LEAST8, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1339:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int_least8_t, INT_LEAST8, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:246:27: warning: conversion to ‘uint_least8_t’ from ‘int’ may alter its value [-Wconversion] | |
_v = (_v << 8) + _i; \ | |
^ | |
../../src/H5detect.c:1342:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint_least8_t, UINT_LEAST8, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1342:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint_least8_t, UINT_LEAST8, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1342:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint_least8_t, UINT_LEAST8, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:246:27: warning: conversion to ‘int_fast8_t’ from ‘int’ may alter its value [-Wconversion] | |
_v = (_v << 8) + _i; \ | |
^ | |
../../src/H5detect.c:1345:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int_fast8_t, INT_FAST8, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1345:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int_fast8_t, INT_FAST8, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1345:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int_fast8_t, INT_FAST8, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:246:27: warning: conversion to ‘uint_fast8_t’ from ‘int’ may alter its value [-Wconversion] | |
_v = (_v << 8) + _i; \ | |
^ | |
../../src/H5detect.c:1348:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint_fast8_t, UINT_FAST8, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1348:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint_fast8_t, UINT_FAST8, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1348:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint_fast8_t, UINT_FAST8, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c: In function ‘detect_C99_integers16’: | |
../../src/H5detect.c:246:27: warning: conversion to ‘int16_t’ from ‘int’ may alter its value [-Wconversion] | |
_v = (_v << 8) + _i; \ | |
^ | |
../../src/H5detect.c:1371:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int16_t, INT16, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1371:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int16_t, INT16, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1371:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int16_t, INT16, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:246:27: warning: conversion to ‘uint16_t’ from ‘int’ may alter its value [-Wconversion] | |
_v = (_v << 8) + _i; \ | |
^ | |
../../src/H5detect.c:1374:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint16_t, UINT16, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1374:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint16_t, UINT16, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1374:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint16_t, UINT16, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:246:27: warning: conversion to ‘int_least16_t’ from ‘int’ may alter its value [-Wconversion] | |
_v = (_v << 8) + _i; \ | |
^ | |
../../src/H5detect.c:1377:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int_least16_t, INT_LEAST16, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1377:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int_least16_t, INT_LEAST16, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1377:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int_least16_t, INT_LEAST16, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:246:27: warning: conversion to ‘uint_least16_t’ from ‘int’ may alter its value [-Wconversion] | |
_v = (_v << 8) + _i; \ | |
^ | |
../../src/H5detect.c:1380:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint_least16_t, UINT_LEAST16, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1380:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint_least16_t, UINT_LEAST16, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1380:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint_least16_t, UINT_LEAST16, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1383:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int_fast16_t, INT_FAST16, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1383:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int_fast16_t, INT_FAST16, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:1386:5: warning: conversion to ‘uint_fast16_t’ from ‘int’ may change the sign of the result [-Wsign-conversion] | |
DETECT_I(uint_fast16_t, UINT_FAST16, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1386:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint_fast16_t, UINT_FAST16, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1386:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint_fast16_t, UINT_FAST16, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c: In function ‘detect_C99_integers32’: | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1409:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int32_t, INT32, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1409:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int32_t, INT32, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:1412:5: warning: conversion to ‘uint32_t’ from ‘int’ may change the sign of the result [-Wsign-conversion] | |
DETECT_I(uint32_t, UINT32, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1412:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint32_t, UINT32, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1412:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint32_t, UINT32, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1415:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int_least32_t, INT_LEAST32, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1415:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int_least32_t, INT_LEAST32, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:1418:5: warning: conversion to ‘uint_least32_t’ from ‘int’ may change the sign of the result [-Wsign-conversion] | |
DETECT_I(uint_least32_t, UINT_LEAST32, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1418:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint_least32_t, UINT_LEAST32, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1418:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint_least32_t, UINT_LEAST32, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1421:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int_fast32_t, INT_FAST32, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1421:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int_fast32_t, INT_FAST32, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:1424:5: warning: conversion to ‘uint_fast32_t’ from ‘int’ may change the sign of the result [-Wsign-conversion] | |
DETECT_I(uint_fast32_t, UINT_FAST32, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1424:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint_fast32_t, UINT_FAST32, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1424:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint_fast32_t, UINT_FAST32, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c: In function ‘detect_C99_integers64’: | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1447:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int64_t, INT64, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1447:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int64_t, INT64, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:1450:5: warning: conversion to ‘uint64_t’ from ‘int’ may change the sign of the result [-Wsign-conversion] | |
DETECT_I(uint64_t, UINT64, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1450:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint64_t, UINT64, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1450:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint64_t, UINT64, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1453:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int_least64_t, INT_LEAST64, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1453:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int_least64_t, INT_LEAST64, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:1456:5: warning: conversion to ‘uint_least64_t’ from ‘int’ may change the sign of the result [-Wsign-conversion] | |
DETECT_I(uint_least64_t, UINT_LEAST64, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1456:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint_least64_t, UINT_LEAST64, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1456:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint_least64_t, UINT_LEAST64, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1459:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int_fast64_t, INT_FAST64, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1459:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(int_fast64_t, INT_FAST64, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:1462:5: warning: conversion to ‘uint_fast64_t’ from ‘int’ may change the sign of the result [-Wsign-conversion] | |
DETECT_I(uint_fast64_t, UINT_FAST64, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1462:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint_fast64_t, UINT_FAST64, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1462:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(uint_fast64_t, UINT_FAST64, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1466:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(long long, LLONG, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1466:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(long long, LLONG, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:1467:5: warning: conversion to ‘long long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] | |
DETECT_I(unsigned long long, ULLONG, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1467:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(unsigned long long, ULLONG, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:265:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1467:5: note: in expansion of macro ‘DETECT_I’ | |
DETECT_I(unsigned long long, ULLONG, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c: In function ‘detect_C99_floats’: | |
../../src/H5detect.c:1532:5: warning: passing argument 1 of ‘memset’ discards ‘volatile’ qualifier from pointer target type [enabled by default] | |
DETECT_F(long double, LDOUBLE, d_g[nd_g]); nd_g++; | |
^ | |
In file included from ../../src/H5private.h:61:0, | |
from ../../src/H5detect.c:57: | |
/usr/include/string.h:65:14: note: expected ‘void *’ but argument is of type ‘volatile long double *’ | |
extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); | |
^ | |
../../src/H5detect.c:1532:5: warning: passing argument 1 of ‘memset’ discards ‘volatile’ qualifier from pointer target type [enabled by default] | |
DETECT_F(long double, LDOUBLE, d_g[nd_g]); nd_g++; | |
^ | |
In file included from ../../src/H5private.h:61:0, | |
from ../../src/H5detect.c:57: | |
/usr/include/string.h:65:14: note: expected ‘void *’ but argument is of type ‘volatile long double *’ | |
extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); | |
^ | |
../../src/H5detect.c:1532:5: warning: passing argument 1 of ‘memset’ discards ‘volatile’ qualifier from pointer target type [enabled by default] | |
DETECT_F(long double, LDOUBLE, d_g[nd_g]); nd_g++; | |
^ | |
In file included from ../../src/H5private.h:61:0, | |
from ../../src/H5detect.c:57: | |
/usr/include/string.h:65:14: note: expected ‘void *’ but argument is of type ‘volatile long double *’ | |
extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); | |
^ | |
../../src/H5detect.c:1532:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
DETECT_F(long double, LDOUBLE, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:1532:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:1532:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:314:21: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf1, (const void *)&_v1, sizeof(TYPE)); \ | |
^ | |
../../src/H5detect.c:1532:5: note: in expansion of macro ‘DETECT_F’ | |
DETECT_F(long double, LDOUBLE, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:315:21: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf3, (const void *)&_v3, sizeof(TYPE)); \ | |
^ | |
../../src/H5detect.c:1532:5: note: in expansion of macro ‘DETECT_F’ | |
DETECT_F(long double, LDOUBLE, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:322:46: warning: to be safe all intermediate pointers in cast from ‘char **’ to ‘const char **’ must be ‘const’ qualified [-Wcast-qual] | |
fix_order(sizeof(TYPE), _last, INFO.perm, (const char**)&_mesg); \ | |
^ | |
../../src/H5detect.c:1532:5: note: in expansion of macro ‘DETECT_F’ | |
DETECT_F(long double, LDOUBLE, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:1532:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:1532:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:1532:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:1532:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:1532:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:1532:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:1532:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] | |
../../src/H5detect.c:1532:5: warning: passing argument 4 of ‘find_bias’ discards ‘volatile’ qualifier from pointer target type [enabled by default] | |
../../src/H5detect.c:1103:1: note: expected ‘void *’ but argument is of type ‘volatile long double *’ | |
find_bias(int epos, int esize, int *perm, void *_a) | |
^ | |
../../src/H5detect.c:415:78: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.size-((INFO.offset+INFO.precision)/8)),((char *)&_val)+(INFO.size-((INFO.offset+INFO.precision)/8)),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:353:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1532:5: note: in expansion of macro ‘DETECT_F’ | |
DETECT_F(long double, LDOUBLE, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:417:49: warning: cast discards ‘__attribute__((noreturn))’ qualifier from pointer target type [-Wcast-qual] | |
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \ | |
^ | |
../../src/H5detect.c:353:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1532:5: note: in expansion of macro ‘DETECT_F’ | |
DETECT_F(long double, LDOUBLE, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c:419:9: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] | |
if(_val!=_val2) \ | |
^ | |
../../src/H5detect.c:353:4: note: in expansion of macro ‘ALIGNMENT’ | |
ALIGNMENT(TYPE, INFO); \ | |
^ | |
../../src/H5detect.c:1532:5: note: in expansion of macro ‘DETECT_F’ | |
DETECT_F(long double, LDOUBLE, d_g[nd_g]); nd_g++; | |
^ | |
../../src/H5detect.c: In function ‘main’: | |
../../src/H5detect.c:833:2: warning: cannot optimize possibly infinite loops [-Wunsafe-loop-optimizations] | |
for (i=MIN(pass*4+3,d->size-1), | |
^ | |
../../src/H5detect.c:824:2: warning: cannot optimize possibly infinite loops [-Wunsafe-loop-optimizations] | |
for (i=MIN(pass*4+3,d->size-1); i>=pass*4; --i) { | |
^ | |
CCLD H5detect | |
Script done on Tue 03 Sep 2013 14:49:15 EST |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment