Snapshot gcc-11-20220212 is now available on
https://gcc.gnu.org/pub/gcc/snapshots/11-20220212/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.
This snapshot has been generated from the GCC 11 git branch
with the following options: git://gcc.gnu.org/git/gcc.git branch
On Sat, 12 Feb 2022, Andrea Monaco via Gcc wrote:
#include
int
main (void)
{
float a;
curl_easy_setopt (NULL, 0, (void *) a);
}
with "gcc -c bug.c" gives
bug.c: In function ‘main’:
bug.c:15:3: error: cannot convert to a pointer type
curl_easy_setopt (NULL, 0, (void *) a);
Hello,
I may have hit a bug while using libcurl, a common library for network
operations, on gcc 8.3.0.
Building this program
#include
int
main (void)
{
float a;
curl_easy_setopt (NULL, 0, (void *) a);
}
with "gcc -c bug.c" gives
bug.c: In function ‘main’:
bug.c