curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: No compiler warnings shown for some autobuilds

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Sat, 23 Feb 2019 11:02:17 +0100 (CET)

On Fri, 22 Feb 2019, Marcel Raad via curl-library wrote:

> on the autobuilds page [0], no warnings are shown for my two test runners.
> However, when looking at [1], there are two warnings. Any idea why they're
> not recognized as such? Also, for Marc's builds, they are shown in [2], but
> not in [3].

The perl function checkwarn in ccwarn.pm is what marks warnings:
https://github.com/curl/curl-www/blob/41a75badd66089e36dfaf007d1d80c24eb826da3/dev/ccwarn.pm#L23

Clearly something isn't working here. I think it might be the backslash in the
path for a gcc warning. I'll see what I can do.

What I find even more strange in this log [1] is that it warns for a prototype
on easy.c line 97 like this:

   static void win32_cleanup()
   ^~~~~~~~~~~~~

while when I look at that particular code in git master it looks like this:

   static void win32_cleanup(void)

... which I can't see anything wrong with!

[1] = https://curl.haxx.se/dev/log.cgi?id=20190222054917-7008

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2019-02-23