Antonio
Antonio

Reputation: 91

Compilation error with xlc++ and aix (The #include file <initializer_list> is not found)

I can't find the reason for this compilation error:

The #include file <initializer_list> is not found

I'm compiling with c++11 flag: qlanglvl=extended0x The version of xlc++ is 16.1 in aix 7.2

Can anyone help me?

Many thanks.

Upvotes: 0

Views: 235

Answers (1)

Chris Bowler
Chris Bowler

Reputation: 56

Not all of C++11 is implemented in xlC V16.1. There is an xlclang++ compiler in V16.1 that supports all of C++11.

Upvotes: 3

Related Questions