Mercurial > vim
annotate src/proto/gui_beval.pro @ 35238:f8623bd12e17 default tip
CI: disable -O2 for Coverity after v9.1.0429
Commit: https://github.com/vim/vim/commit/95ff39f8e3d5e16d4ef55f47d8f50da29df05f9e
Author: Christian Brabandt <cb@256bit.org>
Date: Wed May 22 07:53:23 2024 +0200
CI: disable -O2 for Coverity after v9.1.0429
gcc -O2 outputs this warning and turns it into an error when running
Coverity action:
```
eval.c: In function ?echo_string_core?:
cc1: warning: function may return address of local variable [-Wreturn-local-addr]
eval.c:6495:12: note: declared here
6495 | char_u buf[MAX_FUNC_NAME_LEN];
| ^~~
```
This seems to be a false positive, so disable -O2 for Coverity
specifically.
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 22 May 2024 08:00:06 +0200 |
parents | 1a450ce6980c |
children |
rev | line source |
---|---|
7 | 1 /* gui_beval.c */ |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1125
diff
changeset
|
2 BalloonEval *gui_mch_create_beval_area(void *target, char_u *mesg, void (*mesgCB)(BalloonEval *, int), void *clientData); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1125
diff
changeset
|
3 void gui_mch_destroy_beval_area(BalloonEval *beval); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1125
diff
changeset
|
4 void gui_mch_enable_beval_area(BalloonEval *beval); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1125
diff
changeset
|
5 void gui_mch_disable_beval_area(BalloonEval *beval); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1125
diff
changeset
|
6 BalloonEval *gui_mch_currently_showing_beval(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1125
diff
changeset
|
7 void gui_mch_post_balloon(BalloonEval *beval, char_u *mesg); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1125
diff
changeset
|
8 void gui_mch_unpost_balloon(BalloonEval *beval); |
7 | 9 /* vim: set ft=c : */ |