Donate Share

Meanwhile

Tracker: Patches

5 strict-prototypes warning fix - ID: 1863383
Last Update: Comment added ( taliesein )

I looked into compiling Pidgin with -Wstrict-prototypes and got some
warnings from the meanwhile headers. I'm attaching a file with my fixes to
address those individual errors.

I then applied that patch to meanwhile CVS. There were some things that
didn't apply cleanly, so I started looking into it and found that there
were a lot of bad prototypes. I fixed them with the following command line.
The second patch (which I'll attach in a moment) is from the first set of
changes plus that:

grep "()" *.h | grep -v "#define" | sed "s|^\([^:]\+\).* \([^ ]\+\)();|sed
-i 's#\2();#\2(void);#' \1|" | grep -v status-changed | grep -v
update_watch | bash


Nobody/Anonymous ( nobody ) - 2008-01-03 19:43

5

Open

Accepted

Nobody/Anonymous

meanwhile

None

Public


Comments ( 2 )




Date: 2008-01-03 20:40
Sender: talieseinProject AdminAccepting Donations


accepted for 1.1.0


Date: 2008-01-03 19:46
Sender: rlaager


Apparently I can't attach a new file. So, if you apply the first patch and
run that command, you should get the right results.


Log in to comment.

Attached File ( 1 )

Filename Description Download
meanwhile-strict-prototypes.diff Changes against the system headers. Download

Changes ( 2 )

Field Old Value Date By
resolution_id None 2008-01-03 20:40 taliesein
File Added 260672: meanwhile-strict-prototypes.diff 2008-01-03 19:43 nobody