| Anonymous | Login | 2026-05-04 17:17 CEST |
| Main | My View | View Issues |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||
| 0004628 | [libassuan0] other | trivial | always | 2010-12-07 19:29 | 2010-12-08 16:47 | ||
| Reporter | c1pher | View Status | public | ||||
| Assigned To | dam | ||||||
| Priority | normal | Resolution | no change required | ||||
| Status | closed | ||||||
| Summary | 0004628: assuan-uds.c:211:3: warning: dereferencing type-punned pointer will break strict-aliasing rules | ||||||
| Description |
Small Quality Assurance issue. To quote the Gentoo bug report: The most common warning you will see is probably "dereferencing type- punned pointer will break strict-aliasing rules". The place where it warns is in general not wrong -- what gcc tries to tell you is that you will break the aliasing rules when you dereference the pointer later (unless you cast it back to its original type first). This warning should be interpreted as saying that your interfaces are badly designed, and the correct way to avoid the warning is to redesign them in a way where you do not need to cast between conflicting types. (Even if you often can make this warning go away by changing void** to void*...) >> Please read the actual standard too. The rules about pointer type conversions are at 6.3.2.3. The appropriate paragraphs are paragraphs 1 and 7. http://www.open-std.org/JTC1/SC22/WG14/www/docs/n1124.pdf. [^] Our bug report is located at: http://bugs.gentoo.org/show_bug.cgi?id=347807 [^] |
||||||
| Additional Information | |||||||
| Tags | No tags attached. | ||||||
| Attached Files | |||||||
|
|
|||||||
Notes |
|
|
(0008542) dam (administrator) 2010-12-08 16:19 |
From reading your gentoo bug report I get the impression you think OpenCSW is the upstream project for libassuan. This is not the case. OpenCSW is a packaging project like gentoo. If you have upstream bugs regarding libassuan please report them at the libassuan bugtracker site at http://gnupg.org/documentation/bts.en.html [^] |
|
(0008543) c1pher (reporter) 2010-12-08 16:45 |
My apologies. I submitted it with gnupg. Feel free to close this. Sorry for the confusion. |
| Copyright © 2000 - 2008 Mantis Group |