#11 diag_l0_device.timerid not used

open
nobody
None
5
2011-11-23
2011-11-23
Jeffrey Holt
No

/Developer/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -I../include -isysroot /Developer/SDKs/MacOSX10.7.sdk -I/Developer/SDKs/MacOSX10.7.sdk/usr/lib/gcc/i686-apple-darwin10/4.2.1/include -isysroot /Developer/SDKs/MacOSX10.7.sdk -I/Developer/SDKs/MacOSX10.7.sdk/usr/lib/gcc/i686-apple-darwin10/4.2.1/include -L/Developer/SDKs/MacOSX10.7.sdk/usr/lib -MT diag_l0_se.o -MD -MP -MF .deps/diag_l0_se.Tpo -c -o diag_l0_se.o diag_l0_se.c
In file included from diag_l0_se.c:53:
diag_tty.h:86: error: expected specifier-qualifier-list before ‘timer_t’

I discovered this was not used when I commented out the offending line (and a few other bugs) and found that the code compiled.

And only now realized that maybe timerid is not referenced because the POSIX timer code isn't finished, which might mean this bug is related to 3441304.

Discussion