Skip to contentSkip to conversation

build error in current master

Qemu-devel Paul Bolle 3 participants 6 messages Mar 20, 2010 – Mar 21, 2010

lore
Share & tools
lore

Paul Bolle

author
#0 lore raw

0) Building current master (3290c4aac5b97bb1e3b2b28d94669f2c611ce84a, Introduce a default qmp session) fails here:

$ make > /dev/null
cc1: warnings being treated as errors
curses.c: In function ‘curses_display_init’:
curses.c:341: error: initialization from incompatible pointer type
make: *** [curses.o] Error 1

1) It seems caused by commit d7234f4d (committed half a day ago):

$ git blame curses.c | grep 341
d7234f4d (Anthony Liguori 2010-03-17 17:59:26 -0500 341)     static
Notifier notifier = { .notify = curses_atexit };
$ git log -1 d7234f4d  --pretty=short
commit d7234f4d7e373a708e1df9ab565a71b71b189025
Author: Anthony Liguori <[email protected]>

Convert atexit users to exit_notifier

Regards,

Paul Bolle

#1 lore raw
Quoted 15 lines · Paul Bolle

0) Building current master (3290c4aac5b97bb1e3b2b28d94669f2c611ce84a, Introduce a default qmp session) fails here:

 $ make > /dev/null
 cc1: warnings being treated as errors
 curses.c: In function ‘curses_display_init’:
 curses.c:341: error: initialization from incompatible pointer type
 make: *** [curses.o] Error 1

1) It seems caused by commit d7234f4d (committed half a day ago):

 $ git blame curses.c | grep 341
 d7234f4d (Anthony Liguori 2010-03-17 17:59:26 -0500 341)     static
 Notifier notifier = { .notify = curses_atexit };
Quoted 7 lines
 $ git log -1 d7234f4d  --pretty=short
 commit d7234f4d7e373a708e1df9ab565a71b71b189025
 Author: Anthony Liguori <[email protected]>

Convert atexit users to exit_notifier

Regards,

Fixed in HEAD.

#2 lore raw
Quoted 17 lines · Blue Swirl
Quoted 15 lines · Paul Bolle

0) Building current master (3290c4aac5b97bb1e3b2b28d94669f2c611ce84a, Introduce a default qmp session) fails here:

  $ make>  /dev/null
  cc1: warnings being treated as errors
  curses.c: In function ‘curses_display_init’:
  curses.c:341: error: initialization from incompatible pointer type
  make: *** [curses.o] Error 1

1) It seems caused by commit d7234f4d (committed half a day ago):

  $ git blame curses.c | grep 341
  d7234f4d (Anthony Liguori 2010-03-17 17:59:26 -0500 341)     static
  Notifier notifier = { .notify = curses_atexit };
Quoted 6 lines
Quoted 6 lines
  $ git log -1 d7234f4d  --pretty=short
  commit d7234f4d7e373a708e1df9ab565a71b71b189025
  Author: Anthony Liguori<[email protected]>

Convert atexit users to exit_notifier

Sorry, that should have never been pushed.

Regards,

Anthony Liguori

Quoted 6 lines
Quoted 2 lines

Regards,

Fixed in HEAD.

#3 lore raw
In reply to Blue Swirl
Quoted 21 lines · Blue Swirl
Quoted 19 lines · Paul Bolle

0) Building current master (3290c4aac5b97bb1e3b2b28d94669f2c611ce84a, Introduce a default qmp session) fails here:

  $ make>  /dev/null
  cc1: warnings being treated as errors
  curses.c: In function ‘curses_display_init’:
  curses.c:341: error: initialization from incompatible pointer type
  make: *** [curses.o] Error 1

1) It seems caused by commit d7234f4d (committed half a day ago):

  $ git blame curses.c | grep 341
  d7234f4d (Anthony Liguori 2010-03-17 17:59:26 -0500 341)     static
  Notifier notifier = { .notify = curses_atexit };
  $ git log -1 d7234f4d  --pretty=short
  commit d7234f4d7e373a708e1df9ab565a71b71b189025
  Author: Anthony Liguori<[email protected]>
Quoted 6 lines
Quoted 4 lines

Convert atexit users to exit_notifier

Regards,

Fixed in HEAD.

I've reverted a bunch of these commits. They're still a work-in-progress. Looks like I pushed the wrong branch.

Sorry for the noise.

Regards,

Anthony Liguori

#4 lore raw
Quoted 30 lines · Anthony Liguori
Quoted 4 lines · Blue Swirl
Quoted 1 line · Paul Bolle

0) Building current master

(3290c4aac5b97bb1e3b2b28d94669f2c611ce84a,

Quoted 23 lines
Quoted 23 lines

Introduce a default qmp session) fails here:

 $ make>  /dev/null
 cc1: warnings being treated as errors
 curses.c: In function ‘curses_display_init’:
 curses.c:341: error: initialization from incompatible pointer type
 make: *** [curses.o] Error 1

1) It seems caused by commit d7234f4d (committed half a day ago):

 $ git blame curses.c | grep 341
 d7234f4d (Anthony Liguori 2010-03-17 17:59:26 -0500 341)     static
 Notifier notifier = { .notify = curses_atexit };
 $ git log -1 d7234f4d  --pretty=short
 commit d7234f4d7e373a708e1df9ab565a71b71b189025
 Author: Anthony Liguori<[email protected]>

Convert atexit users to exit_notifier

Regards,

Quoted 6 lines
Quoted 3 lines

Fixed in HEAD.

I've reverted a bunch of these commits. They're still a work-in-progress.
Looks like I pushed the wrong branch.

Maybe you shouldn't have reverted:
CC curses.o
cc1: warnings being treated as errors /src/qemu/curses.c: In function 'curses_display_init':
/src/qemu/curses.c:345: error: passing argument 1 of 'atexit' from incompatible pointer type

#5 lore raw
Quoted 44 lines · Blue Swirl
Quoted 35 lines · Anthony Liguori
Quoted 6 lines · Blue Swirl
Quoted 2 lines · Paul Bolle

0) Building current master

(3290c4aac5b97bb1e3b2b28d94669f2c611ce84a,

Quoted 24 lines
Quoted 24 lines

Introduce a default qmp session) fails here:

  $ make>   /dev/null
  cc1: warnings being treated as errors
  curses.c: In function ‘curses_display_init’:
  curses.c:341: error: initialization from incompatible pointer type
  make: *** [curses.o] Error 1

1) It seems caused by commit d7234f4d (committed half a day ago):

  $ git blame curses.c | grep 341
  d7234f4d (Anthony Liguori 2010-03-17 17:59:26 -0500 341)     static
  Notifier notifier = { .notify = curses_atexit };
  $ git log -1 d7234f4d  --pretty=short
  commit d7234f4d7e373a708e1df9ab565a71b71b189025
  Author: Anthony Liguori<[email protected]>

Convert atexit users to exit_notifier

Regards,

Quoted 7 lines
Quoted 4 lines

Fixed in HEAD.

I've reverted a bunch of these commits. They're still a work-in-progress.
Looks like I pushed the wrong branch.

Quoted 7 lines

Maybe you shouldn't have reverted:
CC curses.o
cc1: warnings being treated as errors /src/qemu/curses.c: In function 'curses_display_init':
/src/qemu/curses.c:345: error: passing argument 1 of 'atexit' from incompatible pointer type

Sorry, new laptop and I didn't have curses-devel installed yet :-/

Regards,

Anthony Liguori