Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 28 Jun 2012 17:31:25 +0200
From: magnum <>
Subject: Re: GPU formats vs. -Wdeclaration-after-statement

On 2012-06-28 16:48, magnum wrote:
> Perhaps we can assume that CUDA or OpenCL capable systems will survive
> this. But eventually, all these should be fixed:
> common-opencl.c: In function ‘dev_init’:
> common-opencl.c:56:2: warning: ISO C90 forbids mixed declarations and
(zillions of lines snipped)

Just for the heck of it (with -Wdeclaration-after-statement enabled):

$ (make clean; make -j2 linux-x86-64-gpu ) >/dev/null 2>warnings.txt
$ fgrep declaration-after-statement warnings.txt | cut -d: -f1-2 | sed
-r 's/^/git blame /; s/:(.*)/ -L \1,\1/' >
$ bash > blame.txt
$ cat blame.txt | cut -d\( -f2 | sed 's/2012.*//' | sort | uniq -c |
sort -nr
    103 Lukas Odzioba
     47 Claudio André
     22 Myrice
     17 Samuele
      3 Sayantan Datta
      1 magnum

Naaw, I am guilty! %-)


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.