Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

Studio 12.6 / Solaris 11.3 amd64 "Assertion: (../lnk/inline.cc, line 1120)"

RaiderOfTheLostSPARCJul 4 2017 — edited Jul 6 2017

Hi,

known problem?

$ CC -V

CC: Studio 12.6 Sun C++ 5.15 SunOS_i386 2017/05/30

$ cat vec.cc

#include <iostream>

#include <string>

#include <vector>

using namespace std;

int

main(void)

{

    vector<string> vs;

    string s = "one";

    vs.push_back(s);

    cout << vs.at(0) << endl;

    return 0;

}

$ CC -xcheck=%all -library=stlport4 vec.cc

>> Assertion:   (../lnk/inline.cc, line 1120)

    while processing vec.cc at line 0.

This post has been answered by Steve.Clamage-Oracle on Jul 5 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 2 2017
Added on Jul 4 2017
1 comment
223 views