Bug 565332 - RECURSION_IN_LOOKUP problem for brace initialization/assignment of std::chrono::duration when using libc++
Summary: RECURSION_IN_LOOKUP problem for brace initialization/assignment of std::chron...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-indexer (show other bugs)
Version: Next   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-19 05:17 EDT by Michael Woski CLA
Modified: 2020-07-19 05:17 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Woski CLA 2020-07-19 05:17:03 EDT
struct Test {
 std::chrono::seconds sec{1}; // invalid argument reported
  void test() {
    std::chrono::seconds s = 1;
  }
}

this works when using libstdc++

I use -std=c++2a