sunxfancy / whefs

Automatically exported from code.google.com/p/whefs
Other
0 stars 0 forks source link

compile error: duplicate decl of whio_dev_size_t_encode() #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
cc -std=c99 -pedantic -Wall -Wimplicit-function-declaration -g -I.
-I../include -UNDEBUG -DDEBUG=1 -DWHEFS_CONFIG_ENABLE_STATIC_MALLOC=0
-DWHEFS_CONFIG_ENABLE_BITSET_CACHE=1 -DWHEFS_CONFIG_ENABLE_FCNTL=1
-DWHEFS_CONFIG_ENABLE_STRINGS_HASH_CACHE=1  -c -o whefs_block.o whefs_block.c
In file included from whefs_encode.h:10,
                 from whefs_details.c:30,
                 from whefs_block.c:1:
../include/wh/whio/whio_encode.h:400: error: conflicting types for
âwhio_dev_size_t_encodeâ
../include/wh/whio/whio_encode.h:190: error: previous declaration of
âwhio_dev_size_t_encodeâ was here
make[1]: *** [whefs_block.o] Error 1

sed -n -e '399,401p;189,191p' include/wh/whio/whio_encode.h
*/
whio_size_t whio_dev_size_t_encode( whio_dev * dev, whio_size_t v );

*/
size_t whio_dev_size_t_encode( whio_dev * fs, whio_size_t i );

will be fixed when i'm back on a machine where i can commit from.

Original issue reported on code.google.com by sgbeal@googlemail.com on 10 Jul 2009 at 2:49

GoogleCodeExporter commented 8 years ago
Fixed in r277.

Original comment by sgbeal@googlemail.com on 13 Jul 2009 at 1:47