Public bug reported:

GLib 2.18.2-0ubuntu2 on 8.10 has an issue with strict-aliasing, always
reporting the following:

warning: dereferencing type-punned pointer will break strict-aliasing
rules

This does not occur with same code under 2.16.6-0ubuntu1 in 8.04.

Compile attached code as follows

gcc -o test.o -c -Wall -O2 `pkg-config --cflags glib-2.0` test.c

** Affects: glib2.0 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
regression: static mutex lock/unlock break strict-aliasing rules
https://bugs.launchpad.net/bugs/297979
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to