[Bug c/31476] New: There is not way to specify a binary constant

2007-04-04 Thread ftwilliam at gmail dot com
Severity: enhancement Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ftwilliam at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31476

[Bug c/32490] New: gcc does not make the difference between pointers and arrays at all

2007-06-25 Thread ftwilliam at gmail dot com
t gcc dot gnu dot org ReportedBy: ftwilliam at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32490

[Bug c/32490] gcc does not make the difference between pointers and arrays at all

2007-06-25 Thread ftwilliam at gmail dot com
--- Comment #2 from ftwilliam at gmail dot com 2007-06-25 07:39 --- (In reply to comment #1) > b+4096 is the same as (typeof(b)) ( ((char*)b) + 4096 * sizeof(*b) ) which is > not you wanted. > > You should write it as: > (chunk*) ( ((char*)b) + 4096+sizeof(chunk) ) >