{"action":"created","issue":{"url":"https://api.github.com/repos/plicease/FFI-Platypus-Lang-CPP/issues/5","labels_url":"https://api.github.com/repos/plicease/FFI-Platypus-Lang-CPP/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/plicease/FFI-Platypus-Lang-CPP/issues/5/comments","events_url":"https://api.github.com/repos/plicease/FFI-Platypus-Lang-CPP/issues/5/events","html_url":"https://github.com/plicease/FFI-Platypus-Lang-CPP/issues/5","id":56130289,"number":5,"title":"ExtUtils::CBuilder#have_cplusplus doesn't find C++ on solaris","user":{"login":"plicease","id":354009,"avatar_url":"https://avatars.githubusercontent.com/u/354009?v=3","gravatar_id":"","url":"https://api.github.com/users/plicease","html_url":"https://github.com/plicease","followers_url":"https://api.github.com/users/plicease/followers","following_url":"https://api.github.com/users/plicease/following{/other_user}","gists_url":"https://api.github.com/users/plicease/gists{/gist_id}","starred_url":"https://api.github.com/users/plicease/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plicease/subscriptions","organizations_url":"https://api.github.com/users/plicease/orgs","repos_url":"https://api.github.com/users/plicease/repos","events_url":"https://api.github.com/users/plicease/events{/privacy}","received_events_url":"https://api.github.com/users/plicease/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-31T16:33:29Z","updated_at":"2015-01-31T16:45:54Z","closed_at":null,"body":"This is probably a bug in ExtUtils::CBuilder and thus needs to be reported with perlbug but opening an issue here to coordinate with FFI.\r\n\r\n```\r\nsun% perl -MExtUtils::CBuilder -E 'say ExtUtils::CBuilder->new->have_cplusplus'\r\ncc: Warning: Option -x passed to ld, if ld is invoked, ignored otherwise\r\ncc: No valid input files specified, no output generated\r\n0\r\n```"},"comment":{"url":"https://api.github.com/repos/plicease/FFI-Platypus-Lang-CPP/issues/comments/72325290","html_url":"https://github.com/plicease/FFI-Platypus-Lang-CPP/issues/5#issuecomment-72325290","issue_url":"https://api.github.com/repos/plicease/FFI-Platypus-Lang-CPP/issues/5","id":72325290,"user":{"login":"plicease","id":354009,"avatar_url":"https://avatars.githubusercontent.com/u/354009?v=3","gravatar_id":"","url":"https://api.github.com/users/plicease","html_url":"https://github.com/plicease","followers_url":"https://api.github.com/users/plicease/followers","following_url":"https://api.github.com/users/plicease/following{/other_user}","gists_url":"https://api.github.com/users/plicease/gists{/gist_id}","starred_url":"https://api.github.com/users/plicease/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plicease/subscriptions","organizations_url":"https://api.github.com/users/plicease/orgs","repos_url":"https://api.github.com/users/plicease/repos","events_url":"https://api.github.com/users/plicease/events{/privacy}","received_events_url":"https://api.github.com/users/plicease/received_events","type":"User","site_admin":false},"created_at":"2015-01-31T16:45:54Z","updated_at":"2015-01-31T16:45:54Z","body":"here is is with verbosity:\r\n\r\n```\r\nsun% perl -MExtUtils::CBuilder -E 'say ExtUtils::CBuilder->new->have_cplusplus'\r\ncc -I/home/ollisg/opt/perl/5.16.2/lib/5.16.2/i86pc-solaris/CORE -KPIC -c -x c++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -o compilet-fbYef.o compilet-fbYef.cc\r\ncc: Warning: Option -x passed to ld, if ld is invoked, ignored otherwise\r\ncc: No valid input files specified, no output generated\r\n0\r\n```\r\n\r\nI think `-xCC` may need to be used instead of `-x c++` but there is more to it."}}