We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
~/test/qom/qemu-object-model$ make -B gcc -c base.c -o base.o gcc -c main.c -o main.o gcc -c ./qom/gtestutil.c -o gtestutil.o gcc -c ./qom/object.c -o object.o gcc -c ./qom/ghash.c -o ghash.o In file included from ./qom/ghash.h:27, from ./qom/ghash.c:31: ./qom/ghash.c: In function ‘g_direct_hash’: ./qom/gtypes.h:49:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | #define GPOINTER_TO_UINT(p) ((guint) (p)) | ^ ./qom/ghash.c:1799:10: note: in expansion of macro ‘GPOINTER_TO_UINT’ 1799 | return GPOINTER_TO_UINT (v); | ^~~~~~~~~~~~~~~~ gcc -c ./qom/gslist.c -o gslist.o gcc -c ./qom/error.c -o error.o gcc -c ./qom/gstrfuncs.c -o gstrfuncs.o In file included from ./qom/gstrfuncs.c:4: ./qom/gstrfuncs.c: In function ‘g_strdup_vprintf’: ./qom/gstrfuncs.h:47:42: error: assignment to expression with array type 47 | # define G_VA_COPY(ap1, ap2) ((ap1) = (ap2)) | ^ ./qom/gstrfuncs.c:65:3: note: in expansion of macro ‘G_VA_COPY’ 65 | G_VA_COPY (args2, args1); | ^~~~~~~~~ makefile:13: recipe for target 'gstrfuncs.o' failed make: *** [gstrfuncs.o] Error 1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
~/test/qom/qemu-object-model$ make -B
gcc -c base.c -o base.o
gcc -c main.c -o main.o
gcc -c ./qom/gtestutil.c -o gtestutil.o
gcc -c ./qom/object.c -o object.o
gcc -c ./qom/ghash.c -o ghash.o
In file included from ./qom/ghash.h:27,
from ./qom/ghash.c:31:
./qom/ghash.c: In function ‘g_direct_hash’:
./qom/gtypes.h:49:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
49 | #define GPOINTER_TO_UINT(p) ((guint) (p))
| ^
./qom/ghash.c:1799:10: note: in expansion of macro ‘GPOINTER_TO_UINT’
1799 | return GPOINTER_TO_UINT (v);
| ^~~~~~~~~~~~~~~~
gcc -c ./qom/gslist.c -o gslist.o
gcc -c ./qom/error.c -o error.o
gcc -c ./qom/gstrfuncs.c -o gstrfuncs.o
In file included from ./qom/gstrfuncs.c:4:
./qom/gstrfuncs.c: In function ‘g_strdup_vprintf’:
./qom/gstrfuncs.h:47:42: error: assignment to expression with array type
47 | # define G_VA_COPY(ap1, ap2) ((ap1) = (ap2))
| ^
./qom/gstrfuncs.c:65:3: note: in expansion of macro ‘G_VA_COPY’
65 | G_VA_COPY (args2, args1);
| ^~~~~~~~~
makefile:13: recipe for target 'gstrfuncs.o' failed
make: *** [gstrfuncs.o] Error 1
The text was updated successfully, but these errors were encountered: