|
2010-03-31
| ||
| 15:53 | • Closed ticket [2979572fff]: compiler warnings threadSpCmd.c plus 6 other cha... artifact: da61547b1d user: vasiljevic | |
| 15:52 | • Ticket [2979572fff]: 4 changes artifact: 7282735e02 user: vasiljevic | |
| 05:35 | • Ticket [2979572fff]: 4 changes artifact: 5022a9f8f0 user: dgp | |
| 05:35 | • Ticket [2979572fff]: 4 changes artifact: a59be0de5b user: dgp | |
| 05:35 | • Add attachment 2979572.patch to ticket [2979572fff] artifact: bad2b49f45 user: dgp | |
| 02:26 | • Ticket [2979572fff] compiler warnings threadSpCmd.c status still Open with 4... artifact: 51213c30f7 user: vasiljevic | |
| 02:20 | • Ticket [2979572fff]: 4 changes artifact: a6438fd993 user: vasiljevic | |
|
2010-03-30
| ||
| 19:01 | • New ticket [2979572fff]. artifact: 1b78026e9f user: dgp | |
compiler warnings threadSpCmd.c
Closed2979572fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2010-03-30 19:01:37
On the current HEAD: gcc -DPACKAGE_NAME=\"thread\" -DPACKAGE_TARNAME=\"thread\" -DPACKAGE_VERSION=\"2.6.5\" -DPACKAGE_STRING=\"thread\ 2.6.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DUSE_TCL_STUBS=1 -I"/home/dgp/cvs/tcl-only/generic" -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo /home/dgp/cvs/tcl-only/pkgs/thread2.6.5/generic/threadSpCmd.c` -o threadSpCmd.o /home/dgp/cvs/tcl-only/pkgs/thread2.6.5/generic/threadSpCmd.c: In function ‘ThreadRWMutexObjCmd’: /home/dgp/cvs/tcl-only/pkgs/thread2.6.5/generic/threadSpCmd.c:468: warning: dereferencing type-punned pointer will break strict-aliasing rules /home/dgp/cvs/tcl-only/pkgs/thread2.6.5/generic/threadSpCmd.c: In function ‘SpMutexLock’: /home/dgp/cvs/tcl-only/pkgs/thread2.6.5/generic/threadSpCmd.c:1129: warning: dereferencing type-punned pointer will break strict-aliasing rules /home/dgp/cvs/tcl-only/pkgs/thread2.6.5/generic/threadSpCmd.c:1132: warning: dereferencing type-punned pointer will break strict-aliasing rules /home/dgp/cvs/tcl-only/pkgs/thread2.6.5/generic/threadSpCmd.c: In function ‘SpMutexUnlock’: /home/dgp/cvs/tcl-only/pkgs/thread2.6.5/generic/threadSpCmd.c:1161: warning: dereferencing type-punned pointer will break strict-aliasing rules /home/dgp/cvs/tcl-only/pkgs/thread2.6.5/generic/threadSpCmd.c:1164: warning: dereferencing type-punned pointer will break strict-aliasing rules /home/dgp/cvs/tcl-only/pkgs/thread2.6.5/generic/threadSpCmd.c: In function ‘SpMutexFinalize’: /home/dgp/cvs/tcl-only/pkgs/thread2.6.5/generic/threadSpCmd.c:1203: warning: dereferencing type-punned pointer will break strict-aliasing rules /home/dgp/cvs/tcl-only/pkgs/thread2.6.5/generic/threadSpCmd.c:1206: warning: dereferencing type-punned pointer will break strict-aliasing rules /home/dgp/cvs/tcl-only/pkgs/thread2.6.5/generic/threadSpCmd.c:1209: warning: dereferencing type-punned pointer will break strict-aliasing rules Would be good to silence these warnings before a release of Thread 2.6.6
vasiljevicplain2010-03-31 02:20:15
Sure. But on what box do you compile? I use Mac and get no such warnings! Zoran
vasiljevicplain2010-03-31 02:26:17
Hm.... this new interface isn't really intuitive.... Did you get my comment/question about the platform where you compile?
dgpplain2010-03-31 05:35:00
File Added - 368875: 2979572.patch
dgpplain2010-03-31 05:35:23
patch attached
vasiljevicplain2010-03-31 15:52:44
Applied.
vasiljevicplain2010-03-31 15:53:18
allow_comments - 1 Applied patch.
Log in (anonymous is fine) to add a comment.
Attachments:
- 2979572.patch [download] added by dgp on 2010-03-31 05:35:00. [details]