RFR: JDK-8336413 : gtk headers : Fix typedef redeclaration of GMainContext and GdkPixbuf

Damon Nguyen dnguyen at openjdk.org
Tue Jul 16 19:07:51 UTC 2024


On Mon, 15 Jul 2024 23:29:25 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

> Typedef re-declaration warnings were seen on Solaris in 11u but this seems to be an issue in all releases including mainline, but only the Solaris compiler warns. 
>  
> Two typedef declarations are causing this issue - `GMainContext, GdkPixbuf`
> 
> The problem is that they are defined in gtk_interface.h but then redefined in gtk2_interface.h and gtk3_interface.h
> The fix is to remove the redeclarations in gtk2_interface.h and gtk3_interface.h

Marked as reviewed by dnguyen (Committer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/20186#pullrequestreview-2181097297


More information about the client-libs-dev mailing list