Issue Details (XML | Word | Printable)

Key: PCC-388
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Iain Hibbert
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
pcc

nested typedef gives syntax error (cxxcom)

Created: 28/Mar/12 03:25 PM   Updated: 28/Mar/12 04:10 PM
Component/s: C++ frontend
Affects Version/s: None
Fix Version/s: None

Environment: NetBSD/i386


 Description  « Hide
second level typedef gives syntax error, as demonstrated by the following code fragment

typedef int foo_t;
typedef foo_t bar_t;

when compiled with /usr/libexec/cxxcom, gives

<stdin>, line 2: syntax error
        .ident "PCC: pcc 1.1.0.DEVEL 20120325 for netbsd-i386"



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Anders Magnusson made changes - 28/Mar/12 04:10 PM
Field Original Value New Value
Component/s C++ frontend [ 10060 ]
Component/s C frontend [ 10010 ]