RSS/Atom feed Twitter
Site is read-only, email is disabled

git babl build breaks due to random() and srandom()

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

3 of 3 messages available
Toggle history

Please log in to manage your subscriptions.

git babl build breaks due to random() and srandom() Partha Bagchi 01 Feb 17:42
  git babl build breaks due to random() and srandom() Daniel Sabo 02 Feb 04:28
   git babl build breaks due to random() and srandom() Partha Bagchi 02 Feb 05:44
Partha Bagchi
2014-02-01 17:42:34 UTC (about 10 years ago)

git babl build breaks due to random() and srandom()

The latest git pull for babl braks for me. I am not sure if random()/srandom() is standard as it is undefined on my system (gcc 4.8.1 with Msys). I changed it to rand()/srand().

I do get the following warning (repeated a few times): babl-gen-test-pixels.c:55:9: warning: unknown conversion type character 'a' in format [-Wformat=]
....

Thanks,
Partha

Daniel Sabo
2014-02-02 04:28:50 UTC (about 10 years ago)

git babl build breaks due to random() and srandom()

Could you check that this patch resolves the issue?

https://bugzilla.gnome.org/show_bug.cgi?id=723461

Partha Bagchi
2014-02-02 05:44:51 UTC (about 10 years ago)

git babl build breaks due to random() and srandom()

Hi Daniel,

Applied the patch, but fails since you also need to account for random used in tests/babl_fish_path_fitness.c

Thanks, Partha

On Sat, Feb 1, 2014 at 11:28 PM, Daniel Sabo wrote:

Could you check that this patch resolves the issue?

https://bugzilla.gnome.org/show_bug.cgi?id=723461