This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
NetBeans 8.1, Ubuntu 15.10, G++ 5.2.1, --std=c++11 #include <ctime> int main() { struct std::tm t; t.tm_sec = 0; // unresolved identifier 'tm_sec' t.tm_min = 0; // unresolved identifier 'tm_min' t.tm_hour = 0; // unresolved identifier 'tm_hour' t.tm_mday = 1; // unresolved identifier 'tm_mday' t.tm_mon = 0; // unresolved identifier 'tm_mon' t.tm_year = 0; // unresolved identifier 'tm_year' t.tm_isdst = -1; // unresolved identifier 'tm_isdst' return 0; }
Fixed at enum. Changeset: 305065:c034df4abd14
Integrated into 'main-silver', will be available in build *201512160002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/61d7d7f9f965 User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #257032 - std::tm and unresolved identifiers (transplanted from c034df4abd1429b2f11d0b2986d40538e05eab73)
Verified in NetBeans 8.1 with latest internal patches