<< Back to previous view

[PCC-388] nested typedef gives syntax error (cxxcom) Created: 28/Mar/12  Updated: 28/Mar/12

Status: Open
Project: pcc
Component/s: C++ frontend
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Iain Hibbert Assignee: Unassigned
Resolution: Unresolved Votes: 0
Environment: NetBSD/i386

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"

Generated at Fri Apr 27 08:49:21 CEST 2018 using JIRA Enterprise Edition, Version: 3.13.1-#333.