From: SourceForge.net <no...@so...> - 2009-03-30 08:25:44
|
Bugs item #2721807, was opened at 2009-03-30 08:25 Message generated for change (Tracker Item Submitted) made by wbma You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=2721807&group_id=599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: linker Group: known bugs Status: Open Resolution: None Priority: 5 Private: No Submitted By: wenbing ma (wbma) Assigned to: Nobody/Anonymous (nobody) Summary: typedef problem Initial Comment: typedef unsigned char * PBYTE; "typedef PBYTE const CPBYTE;" does not work. it report "syntax error,delcaration ignored at 'CPBYTE'. but, "typedef unsigned char * const CPBYTE" works. Is it 'typedef' declaration bug? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=2721807&group_id=599 |
From: SourceForge.net <no...@so...> - 2009-03-30 08:27:06
|
Bugs item #2721807, was opened at 2009-03-30 08:25 Message generated for change (Comment added) made by wbma You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=2721807&group_id=599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: linker Group: known bugs Status: Open Resolution: None Priority: 5 Private: No Submitted By: wenbing ma (wbma) Assigned to: Nobody/Anonymous (nobody) Summary: typedef problem Initial Comment: typedef unsigned char * PBYTE; "typedef PBYTE const CPBYTE;" does not work. it report "syntax error,delcaration ignored at 'CPBYTE'. but, "typedef unsigned char * const CPBYTE" works. Is it 'typedef' declaration bug? ---------------------------------------------------------------------- >Comment By: wenbing ma (wbma) Date: 2009-03-30 08:27 Message: Use SDCC 2.8.0 #5117. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=2721807&group_id=599 |
From: SourceForge.net <no...@so...> - 2009-10-04 16:45:36
|
Bugs item #2721807, was opened at 2009-03-30 10:25 Message generated for change (Settings changed) made by maartenbrock You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=2721807&group_id=599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: None >Group: non bugs >Status: Closed >Resolution: Rejected Priority: 5 Private: No Submitted By: wenbing ma (wbma) >Assigned to: Maarten Brock (maartenbrock) Summary: typedef problem Initial Comment: typedef unsigned char * PBYTE; "typedef PBYTE const CPBYTE;" does not work. it report "syntax error,delcaration ignored at 'CPBYTE'. but, "typedef unsigned char * const CPBYTE" works. Is it 'typedef' declaration bug? ---------------------------------------------------------------------- >Comment By: Maarten Brock (maartenbrock) Date: 2009-10-04 18:45 Message: Unless I misunderstood the C spec, this is no bug but incorrect code. If you put the const keyword before PBYTE it should work. I don't know if this worked before but it should be fine with SDCC 2.9.3. ---------------------------------------------------------------------- Comment By: wenbing ma (wbma) Date: 2009-03-30 10:27 Message: Use SDCC 2.8.0 #5117. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=2721807&group_id=599 |