JuliaInterop / Cxx.jl

The Julia C++ Interface
Other
755 stars 107 forks source link

Issue Encountered During Cxx Package Build in Julia1.3.0 Environment #504

Closed yxzayy closed 6 months ago

yxzayy commented 7 months ago

Description: I have recently encountered a significant issue while trying to build the Cxx package in my Julia environment. Despite having confirmed the installation and correct path of Xcode Command Line Tools on my macOS system, I am consistently facing an error during the package build process.

Detailed Error Description: Every time I attempt to precompile or build the Cxx package using Julia, the following error message is displayed: "ERROR: LoadError: LoadError: Could not find C++ standard library. Is XCode or CommandLineTools installed?" This error persists even though I have verified the installation of the Xcode Command Line Tools with xcode-select -p, which indicates the correct installation path, and I have also ensured that the Xcode license agreement is accepted.

Steps Taken:

I have checked the installation of the Clang compiler using clang++ --version, which returns the appropriate version, indicating a successful installation. The which clang++ command has also confirmed the presence of the compiler in the system $PATH. I attempted to rebuild the Cxx package in Julia using Pkg.build("Cxx"), yet the problem persists without any change in the error message. Environment:

macOS Julia version 1.3 Cxx package version 0.4.0 Request for Assistance: I am seeking guidance or suggestions on how to resolve this issue. The inability to build the Cxx package is hindering my progress, and any help or insights from the community would be greatly appreciated. Any known compatibility issues or additional configuration steps that I might be missing would also be valuable.

Thank you for your attention and assistance regarding this matter.

Gnimuc commented 7 months ago

Could you share more detailed errors? screenshots would also be ok.

https://github.com/JuliaInterop/Cxx.jl/blob/f5a6e33e6184150c2ed0ae5e99bdce485d68b87a/src/initialization.jl#L224-L225

As apple keeps changing C++ system header paths, you may need to ensure the above two lines point to valid paths.

➜  ~ xcode-select --print-path
/Applications/Xcode.app/Contents/Developer

➜  ~ ls /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include             
FlexLexer.h        libcodedirectory.h swift

But those C++ headers are actually in:

➜  ~ ls /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/
__algorithm              __split_buffer           complex                  future                   setjmp.h
__assert                 __std_stream             complex.h                initializer_list         shared_mutex
__availability           __string                 concepts                 inttypes.h               source_location
__bit                    __support                condition_variable       iomanip                  span
__bit_reference          __thread                 coroutine                ios                      sstream
__bsd_locale_defaults.h  __threading_support      csetjmp                  iosfwd                   stack
__bsd_locale_fallbacks.h __tree                   csignal                  iostream                 stdatomic.h
__charconv               __tuple_dir              cstdarg                  istream                  stdbool.h
__chrono                 __type_traits            cstdbool                 iterator                 stddef.h
__compare                __undef_macros           cstddef                  latch                    stdexcept
__concepts               __utility                cstdint                  libcxx.imp               stdint.h
__config                 __variant                cstdio                   limits                   stdio.h
__config_site            __verbose_abort          cstdlib                  limits.h                 stdlib.h
__coroutine              algorithm                cstring                  list                     streambuf
__cxxabi_config.h        any                      ctgmath                  locale                   string
__debug                  array                    ctime                    locale.h                 string.h
__debug_utils            atomic                   ctype.h                  map                      string_view
__errc                   barrier                  cuchar                   math.h                   strstream
__expected               bit                      cwchar                   memory                   system_error
__filesystem             bitset                   cwctype                  memory_resource          tgmath.h
__format                 cassert                  cxxabi.h                 module.modulemap         thread
__functional             ccomplex                 deque                    mutex                    tuple
__fwd                    cctype                   errno.h                  new                      type_traits
__hash_table             cerrno                   exception                numbers                  typeindex
__ios                    cfenv                    execution                numeric                  typeinfo
__iterator               cfloat                   expected                 optional                 uchar.h
__locale                 charconv                 experimental             ostream                  unordered_map
__mbstate_t.h            chrono                   ext                      queue                    unordered_set
__memory                 cinttypes                fenv.h                   random                   utility
__memory_resource        ciso646                  filesystem               ranges                   valarray
__mutex_base             climits                  float.h                  ratio                    variant
__node_handle            clocale                  format                   regex                    vector
__numeric                cmath                    forward_list             scoped_allocator         version
__random                 codecvt                  fstream                  semaphore                wchar.h
__ranges                 compare                  functional               set                      wctype.h
Gnimuc commented 7 months ago

Also, you don't need to build Cxx on your machine. The binary build(the JLL package for macOS x86_64) should work.

yxzayy commented 6 months ago

Thank you very much. These are some screenshots . Can the necessary changes just be made in 'initialization.jl'? Is such a modification acceptable? After making the changes and attempting to build, it still shows 'false'; is this normal? 1707712375052 1707712289127 1707712227135 1707712213768

Gnimuc commented 6 months ago

you can run examples in the README, if it works, then it's ok.

Gnimuc commented 6 months ago

After making the changes and attempting to build, it still shows 'false'; is this normal?

It's the return value after running path.jl, which means you're not using prebuilt binaries.

https://github.com/JuliaInterop/Cxx.jl/blob/f5a6e33e6184150c2ed0ae5e99bdce485d68b87a/deps/build.jl#L34

yxzayy commented 6 months ago

What should be done?

Gnimuc commented 6 months ago

As I said, if it works, then nothing needs to be done.

yxzayy commented 6 months ago

you can run examples in the README, if it works, then it's ok.

it doesn't works 1707713943571

Gnimuc commented 6 months ago

Thank you very much. These are some screenshots . Can the necessary changes just be made in 'initialization.jl'? Is such a modification acceptable? After making the changes and attempting to build, it still shows 'false'; is this normal? 1707712375052 1707712289127 1707712227135 1707712213768

ok. you need to pkg> dev Cxx and apply above changes to the source code in the dev folder

Gnimuc commented 6 months ago

Could you share more info about your mac? is it an M-chip mac? did you run Julia in rosetta? what's your environment for building Julia itself?

yxzayy commented 6 months ago

1707715926549

yxzayy commented 6 months ago

image

Gnimuc commented 6 months ago

The BinaryBuild should work on your machine. Please try the following steps:

  1. in Julia REPL, pkg> rm Cxx
  2. clear dev folder by manually deleting /Users/mac/.julia/dev/Cxx
  3. clear compiled cache by manually deleting /Users/mac/.julia/compiled/1.3/Cxx
  4. check the /Users/mac/.julia/packages and there should be no Cxx-related folders, if not, delete manually.
  5. run pkg> add Cxx and paste the whole error message here.
yxzayy commented 6 months ago

1707719675914

Gnimuc commented 6 months ago

ls /Users/mac/.julia/artifacts/ed170a5be89ddd7b5b672005b4fecba181f5b9f19b2c93c9dbae5334eb7dd167

yxzayy commented 6 months ago

something wrong with it I encountered some errors when uninstalling and installing again

Building Cxx → ~/.julia/packages/Cxx/1RaOv/deps/build.log ┌ Error: Error building Cxx: │ [ Info: Building julia binary build │ [ Info: Downloading https://github.com/JuliaInterop/Cxx.jl/releases/download/libcxxffi-binaries-1.3//libcxxffi.v0.0.0.x86_64-apple-darwin14-libgfortran4.tar.gz to /Users/mac/.julia/packages/Cxx/1RaOv/deps/usr/downloads/libcxxffi.v0.0.0.x86_64-apple-darwin14-libgfortran4.tar.gz... │ ERROR: LoadError: LoadError: Could not download https://github.com/JuliaInterop/Cxx.jl/releases/download/libcxxffi-binaries-1.3//libcxxffi.v0.0.0.x86_64-apple-darwin14-libgfortran4.tar.gz to /Users/mac/.julia/packages/Cxx/1RaOv/deps/usr/downloads/libcxxffi.v0.0.0.x86_64-apple-darwin14-libgfortran4.tar.gz: │ ErrorException("") │ Stacktrace: │ [1] error(::String) at ./error.jl:33 │ [2] #download#96(::Bool, ::typeof(BinaryProvider.download), ::String, ::String) at /Users/mac/.julia/packages/BinaryProvider/U2dKK/src/PlatformEngines.jl:619 │ [3] #download at ./none:0 [inlined] │ [4] #download_verify#97(::Bool, ::Bool, ::Bool, ::typeof(download_verify), ::String, ::String, ::String) at /Users/mac/.julia/packages/BinaryProvider/U2dKK/src/PlatformEngines.jl:688 │ [5] #download_verify at ./tuple.jl:0 [inlined] │ [6] #install#137(::Prefix, ::String, ::Bool, ::Bool, ::Bool, ::typeof(install), ::String, ::String) at /Users/mac/.julia/packages/BinaryProvider/U2dKK/src/Prefix.jl:314 │ [7] (::BinaryProvider.var"#kw##install")(::NamedTuple{(:prefix, :force, :verbose, :ignore_platform),Tuple{Prefix,Bool,Bool,Bool}}, ::typeof(install), ::String, ::String) at ./none:0 │ [8] top-level scope at /Users/mac/.julia/packages/Cxx/1RaOv/deps/build_libcxxffi.jl:35 │ [9] include at ./boot.jl:328 [inlined] │ [10] include_relative(::Module, ::String) at ./loading.jl:1105 │ [11] include(::Module, ::String) at ./Base.jl:31 │ [12] include(::String) at ./client.jl:424 │ [13] top-level scope at /Users/mac/.julia/packages/Cxx/1RaOv/deps/build.jl:40 │ [14] include at ./boot.jl:328 [inlined] │ [15] include_relative(::Module, ::String) at ./loading.jl:1105 │ [16] include(::Module, ::String) at ./Base.jl:31 │ [17] include(::String) at ./client.jl:424 │ [18] top-level scope at none:5 │ in expression starting at /Users/mac/.julia/packages/Cxx/1RaOv/deps/build_libcxxffi.jl:33 │ in expression starting at /Users/mac/.julia/packages/Cxx/1RaOv/deps/build.jl:28 │ caused by [exception 1] │ │ Stacktrace: │ [1] error() at ./error.jl:42 │ [2] #download#96(::Bool, ::typeof(BinaryProvider.download), ::String, ::String) at /Users/mac/.julia/packages/BinaryProvider/U2dKK/src/PlatformEngines.jl:613 │ [3] #download at ./none:0 [inlined] │ [4] #download_verify#97(::Bool, ::Bool, ::Bool, ::typeof(download_verify), ::String, ::String, ::String) at /Users/mac/.julia/packages/BinaryProvider/U2dKK/src/PlatformEngines.jl:688 │ [5] #download_verify at ./tuple.jl:0 [inlined] │ [6] #install#137(::Prefix, ::String, ::Bool, ::Bool, ::Bool, ::typeof(install), ::String, ::String) at /Users/mac/.julia/packages/BinaryProvider/U2dKK/src/Prefix.jl:314 │ [7] (::BinaryProvider.var"#kw##install")(::NamedTuple{(:prefix, :force, :verbose, :ignore_platform),Tuple{Prefix,Bool,Bool,Bool}}, ::typeof(install), ::String, ::String) at ./none:0 │ [8] top-level scope at /Users/mac/.julia/packages/Cxx/1RaOv/deps/build_libcxxffi.jl:35 │ [9] include at ./boot.jl:328 [inlined] │ [10] include_relative(::Module, ::String) at ./loading.jl:1105 │ [11] include(::Module, ::String) at ./Base.jl:31 │ [12] include(::String) at ./client.jl:424 │ [13] top-level scope at /Users/mac/.julia/packages/Cxx/1RaOv/deps/build.jl:40 │ [14] include at ./boot.jl:328 [inlined] │ [15] include_relative(::Module, ::String) at ./loading.jl:1105 │ [16] include(::Module, ::String) at ./Base.jl:31 │ [17] include(::String) at ./client.jl:424 │ [18] top-level scope at none:5 │ writing path.jl file │ Tuning for julia installation at /Applications/Julia-1.3.app/Contents/Resources/julia/bin with sources possibly at /Applications/Julia-1.3.app/Contents/Resources/ │ [23:15:43] #=#=# [23:15:44] ##O#-# [23:15:44] ##O=# # [23:15:44] #=#=-# # [23:15:44] -#O#- # # [23:15:45] -=#=# # # [23:15:46] -=O#-# # # [23:15:47] -=O=# # # # [23:15:48] -=O=-# # # # [23:15:49] -=O=- # # # # [23:15:50] -=O=- # # # # [23:15:51] -=O=- # # # # [23:15:52] -=O=- # # # # [23:15:53] -=O=- # # # # [23:15:54] -=O=- # # # # [23:15:55] -=O=- # # # # [23:15:56] -=O=- # # # # [23:15:57] -=O=- # # # # [23:15:58] -=O=- # # # # [23:15:59] -=O=- # # # # [23:16:00] -=O=- # # # # [23:16:01] -=O=- # # # # [23:16:02] -=O=- # # # # [23:16:03] -=O=- # # # # [23:16:04] -=O=- # # # # [23:16:05] -=O=- # # # # [23:16:06] -=O=- # # # # [23:16:07] -=O=- # # # # [23:16:08] -=O=- # # # # [23:16:09] -=O=- # # # # [23:16:10] -=O=- # # # # [23:16:11] -=O=- # # # #[23:16:12] -=O=- # # # [23:16:13] -=O=- # # # [23:16:14] -=O=- # # #[23:16:15] -=O=- # # [23:16:16] -=O=- # #[23:16:17] -=O=- # [23:16:18] -=O=- # [23:16:19] -=O=- #[23:16:20] -=O=- [23:16:21] -=O=- [23:16:22] -=O=- [23:16:23] -=O=- [23:16:24] -=O=- [23:16:25] -=O=- [23:16:26] -=O=- [23:16:27] -=O=- [23:16:28] -=O=- [23:16:29] -=O=- [23:16:30] -=O=- [23:16:31] -=O=- [23:16:32] -=O=- [23:16:33] -=O=- #[23:16:34] -=O=- # [23:16:35] -=O=- # #[23:16:36] -=O=- # # [23:16:37] -=O=- # # [23:16:38] -=O=- # # #[23:16:39] -=O=- # # # [23:16:40] -=O=- # # # #[23:16:41] -=O=- # # # # [23:16:42] -=O=- # # # # [23:16:43] -=O=- # # # # [23:16:44] -=O=- # # # # [23:16:45] -=O=- # # # # [23:16:46] -=O=- # # # # [23:16:47] -=O=- # # # # [23:16:48] -=O=- # # # # [23:16:49] -=O=- # # # # [23:16:50] -=O=- # # # # [23:16:51] -=O=- # # # # [23:16:52] -=O=- # # # # [23:16:53] -=O=- # # # # [23:16:54] -=O=- # # # # [23:16:55] -=O=- # # # # [23:16:56] -=O=- # # # # [23:16:57] -=O=- # # # # [23:16:58] -=O=- # # # # [23:16:58] curl: (35) Recv failure: Operation timed out │ [23:16:58] └ @ Pkg.Operations /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.3/Pkg/src/backwards_compatible_isolation.jl:649

julia>

yxzayy commented 6 months ago

I'll try to install libcxxffi manually,

Gnimuc commented 6 months ago

you can manually download https://github.com/JuliaInterop/Cxx.jl/releases/download/libcxxffi-binaries-1.3/libcxxffi.v0.0.0.x86_64-apple-darwin14-libgfortran4.tar.gz with a third-party downloader and unzip to /Users/mac/.julia/artifacts/ed170a5be89ddd7b5b672005b4fecba181f5b9f19b2c93c9dbae5334eb7dd167

Gnimuc commented 6 months ago

but you still need to fix

https://github.com/JuliaInterop/Cxx.jl/blob/f5a6e33e6184150c2ed0ae5e99bdce485d68b87a/src/initialization.jl#L219-L235

pkg> dev Cxx

and fix the code:

didfind = false 
lib = joinpath(xcode_path, "usr", "lib", "c++", "v1") 
inc = #replace this line with a valid path on your machine
isdir(lib) && (push!(headers, (lib, C_ExternCSystem)); didfind = true;) 
isdir(inc) && (push!(headers, (inc, C_ExternCSystem)); didfind = true;) 

don't forget to clear compile cache after doing the fix

yxzayy commented 6 months ago
    After performing the above operations, an error is displayed

julia> using Cxx [ Info: Precompiling Cxx [a0b5b9ef-44b7-5148-a2d1-f6db19f3c3d2] ERROR: LoadError: LoadError: Could not find C++ standard library. Is XCode or CommandLineTools installed? Stacktrace: [1] error(::String) at ./error.jl:33 [2] collectStdHeaders!(::Array{Tuple{String,Int32},1}) at /Users/mac/.julia/dev/Cxx/src/initialization.jl:233 [3] collectAllHeaders!(::Array{Tuple{String,Int32},1}, ::Bool) at /Users/mac/.julia/dev/Cxx/src/initialization.jl:389 [4] collectAllHeaders(::Bool) at /Users/mac/.julia/dev/Cxx/src/initialization.jl:393 [5] top-level scope at /Users/mac/.julia/dev/Cxx/src/initialization.jl:423 [6] include at ./boot.jl:328 [inlined] [7] include_relative(::Module, ::String) at ./loading.jl:1105 [8] include at ./Base.jl:31 [inlined] [9] include(::String) at /Users/mac/.julia/dev/Cxx/src/Cxx.jl:144 [10] top-level scope at /Users/mac/.julia/dev/Cxx/src/Cxx.jl:170 [11] include at ./boot.jl:328 [inlined] [12] include_relative(::Module, ::String) at ./loading.jl:1105 [13] include(::Module, ::String) at ./Base.jl:31 [14] top-level scope at none:2 [15] eval at ./boot.jl:330 [inlined] [16] eval(::Expr) at ./client.jl:425 [17] top-level scope at ./none:3 in expression starting at /Users/mac/.julia/dev/Cxx/src/initialization.jl:423 in expression starting at /Users/mac/.julia/dev/Cxx/src/Cxx.jl:170 ERROR: Failed to precompile Cxx [a0b5b9ef-44b7-5148-a2d1-f6db19f3c3d2] to /Users/mac/.julia/compiled/v1.3/Cxx/ESGkI_PAXa9.ji. Stacktrace: [1] error(::String) at ./error.jl:33 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1283 [3] _require(::Base.PkgId) at ./loading.jl:1024 [4] require(::Base.PkgId) at ./loading.jl:922 [5] require(::Module, ::Symbol) at ./loading.jl:917

replace path and clear compile didfind = false lib = joinpath(xcode_path, "usr", "lib", "c++", "v1") inc = joinpath(xcode_path, "Platforms", "MacOSX.platform", "Developer", "SDKs", "MacOSX.sdk", "usr", "include", "c++", "v1") isdir(lib) && (push!(headers, (lib, C_ExternCSystem)); didfind = true;) isdir(inc) && (push!(headers, (inc, C_ExternCSystem)); didfind = true;)

Gnimuc commented 6 months ago
xcode_path = strip(read(`xcode-select --print-path`, String)) 
inc = joinpath(xcode_path, "Platforms", "MacOSX.platform", "Developer", "SDKs", "MacOSX.sdk", "usr", "include", "c++", "v1");
isdir(inc)

try this in REPL. does it return true?

yxzayy commented 6 months ago

julia> xcode_path = "/Applications/Xcode.app/Contents/Developer" "/Applications/Xcode.app/Contents/Developer"

julia> inc = joinpath( xcode_path, "Platforms", "MacOSX.platform", "Developer", "SDKs", "MacOSX.sdk", "usr", "include", "c++", "v1" ) "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1"

julia> isdir(inc) true

julia>

Gnimuc commented 6 months ago

try

@static if isapple() function collectStdHeaders!(headers) 
     xcode_path = "/Applications/Xcode.app/Contents/Developer"
     inc = joinpath(xcode_path, "Platforms", "MacOSX.platform", "Developer", "SDKs", "MacOSX.sdk", "usr", "include", "c++", "v1");
     @assert isdir(inc)
     push!(headers, (inc, C_ExternCSystem))
     # if it still complains about missing system headers, you can manually add paths like:
     # push!(headers, ("missing system headers dirs", C_ExternCSystem))
     return isdir(inc)
 end # function addStdHeaders(C) 
 end # isapple 
yxzayy commented 6 months ago

julia> @static if isapple() function collectStdHeaders!(headers) xcode_path = "/Applications/Xcode.app/Contents/Developer" inc = joinpath(xcode_path, "Platforms", "MacOSX.platform", "Developer", "SDKs", "MacOSX.sdk", "usr", "include", "c++", "v1"); @assert isdir(inc) push!(headers, (inc, C_ExternCSystem))

if it still complains about missing system headers, you can manually add paths like:

        # push!(headers, ("missing system headers dirs", C_ExternCSystem))
        return isdir(inc)
    end # function addStdHeaders(C) 
    end # isapple 

ERROR: LoadError: UndefVarError: isapple not defined Stacktrace:

[2] eval at ./boot.jl:330 [inlined] [3] @static(::LineNumberNode, ::Module, ::Any) at ./osutils.jl:19 in expression starting at REPL[22]:1

Gnimuc commented 6 months ago

replace the source code

Gnimuc commented 6 months ago

looks like you're not familiar with Julia and not savvy enough to use such a package

yxzayy commented 6 months ago

Thank you for your help. I recently started using this software. It loaded successfully on the virtual machine, but I'm not sure why it's not working now.

julia> @static if Sys.isapple() function collectStdHeaders!(headers) xcode_path = "/Applications/Xcode.app/Contents/Developer" inc = joinpath(xcode_path, "Platforms", "MacOSX.platform", "Developer", "SDKs", "MacOSX.sdk", "usr", "include", "c++", "v1") isdir(inc) || error("Error: Directory does not exist: ", inc) push!(headers, inc) return headers end end collectStdHeaders! (generic function with 1 method)

julia> headers = [] 0-element Array{Any,1}

julia> collectStdHeaders!(headers) 1-element Array{Any,1}: "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1"

Gnimuc commented 6 months ago

you need to push a Tuple to the headers: (inc, C_ExternCSystem))

the first element is the path; the second element is a flag for marking this path as a C++ system header path.

Gnimuc commented 6 months ago

It loaded successfully on the virtual machine, but I'm not sure why it's not working now.

It's because Apple keeps changing C++ system header paths and you're using the latest version Sonoma.

yxzayy commented 6 months ago

Is this okay?thanks

julia> @static if Sys.isapple() function collectStdHeaders!(headers) xcode_path = "/Applications/Xcode.app/Contents/Developer" inc = joinpath(xcode_path, "Platforms", "MacOSX.platform", "Developer", "SDKs", "MacOSX.sdk", "usr", "include", "c++", "v1") isdir(inc) || error("错误:目录不存在:", inc) push!(headers, (inc, "C_ExternCSystem")) # 修改这里 return headers end end collectStdHeaders! (generic function with 1 method)

julia> headers = [] 0-element Array{Any,1}

julia> collectStdHeaders!(headers) 1-element Array{Any,1}: ("/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1", "C_ExternCSystem")

julia> println(headers) Any[("/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1", "C_ExternCSystem")]

Gnimuc commented 6 months ago

Is this okay?thanks

julia> @static if Sys.isapple() function collectStdHeaders!(headers) xcode_path = "/Applications/Xcode.app/Contents/Developer" inc = joinpath(xcode_path, "Platforms", "MacOSX.platform", "Developer", "SDKs", "MacOSX.sdk", "usr", "include", "c++", "v1") isdir(inc) || error("错误:目录不存在:", inc) push!(headers, (inc, "C_ExternCSystem")) # 修改这里 return headers end end collectStdHeaders! (generic function with 1 method)

julia> headers = [] 0-element Array{Any,1}

julia> collectStdHeaders!(headers) 1-element Array{Any,1}: ("/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1", "C_ExternCSystem")

julia> println(headers) Any[("/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1", "C_ExternCSystem")]

then replace this function, clear the compile cache, and run using Cxx again.

yxzayy commented 6 months ago

this? 1707732492372

Gnimuc commented 6 months ago

return true, not headers.

yxzayy commented 6 months ago

MethodError: Cannot convert an object of type String to an object of type Int32, "C_ExternCSystem" not Int32

Gnimuc commented 6 months ago

MethodError: Cannot convert an object of type String to an object of type Int32, "C_ExternCSystem" not Int32

you should use C_ExternCSystem without "

yxzayy commented 6 months ago

path still wrong? Sorry for the trouble.

In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstring:61: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits/is_constant_evaluated.h:28:58: error: use of undeclared identifier '__builtin_is_constant_evaluated'; did you mean 'libcpp_is_constant_evaluated'? bool libcpp_is_constant_evaluated() _NOEXCEPT { return builtin_is_constant_evaluated(); } ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits/is_constant_evaluated.h:28:6: note: '__libcpp_is_constant_evaluated' declared here bool libcpp_is_constant_evaluated() _NOEXCEPT { return builtin_is_constant_evaluated(); } ^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/boot.h:16: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstring:80:9: error: no member named 'memcpy' in the global namespace; did you mean 'memchr'? using ::memcpy _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string.h:95:69: note: 'memchr' declared here inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD const void memchr(const void s, int c, size_t __n) { ^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/boot.h:16: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstring:81:9: error: no member named 'memmove' in the global namespace using ::memmove _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstring:82:9: error: no member named 'strcpy' in the global namespace; did you mean 'strchr'? using ::strcpy _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string.h:74:69: note: 'strchr' declared here inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD const char strchr(const char s, int c) { ^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/boot.h:16: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstring:83:9: error: no member named 'strncpy' in the global namespace using ::strncpy _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstring:84:9: error: no member named 'strcat' in the global namespace; did you mean 'strchr'? using ::strcat _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string.h:74:69: note: 'strchr' declared here inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD const char strchr(const char s, int c) { ^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/boot.h:16: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstring:85:9: error: no member named 'strncat' in the global namespace using ::strncat _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstring:86:9: error: no member named 'memcmp' in the global namespace; did you mean 'memchr'? using ::memcmp _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string.h:95:69: note: 'memchr' declared here inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD const void memchr(const void s, int c, size_t __n) { ^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/boot.h:16: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstring:87:9: error: no member named 'strcmp' in the global namespace; did you mean 'strchr'? using ::strcmp _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string.h:74:69: note: 'strchr' declared here inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD const char strchr(const char s, int c) { ^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/boot.h:16: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstring:88:9: error: no member named 'strncmp' in the global namespace using ::strncmp _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstring:89:9: error: no member named 'strcoll' in the global namespace using ::strcoll _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstring:90:9: error: no member named 'strxfrm' in the global namespace using ::strxfrm _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstring:93:9: error: no member named 'strcspn' in the global namespace using ::strcspn _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstring:96:9: error: no member named 'strspn' in the global namespace; did you mean 'strstr'? using ::strspn _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string.h:102:69: note: 'strstr' declared here inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD const char strstr(const char s1, const char* s2) { ^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/boot.h:16: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstring:98:9: error: no member named 'strtok' in the global namespace using ::strtok _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstring:99:9: error: no member named 'memset' in the global namespace using ::memset _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstring:100:9: error: no member named 'strerror' in the global namespace using ::strerror _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstring:101:9: error: no member named 'strlen' in the global namespace using ::strlen _LIBCPP_USING_IF_EXISTS; ~~^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/boot.h:17: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:510: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits/is_trivially_destructible.h:34:2: error: is_trivially_destructible is not implemented

error is_trivially_destructible is not implemented

^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/replpane.jl:84: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/SourceLocation.h:18: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/LLVM.h:22: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Casting.h:19: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/type_traits.h:19: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:265: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare:145: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/compare_partial_order_fallback.h:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__compare/partial_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/weak_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/strong_order.h:20: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:317: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:316: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/stdlib.h:150:34: error: unknown type name 'ldiv_t' inline _LIBCPP_INLINE_VISIBILITY ldiv_t div(long x, long y) _NOEXCEPT { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/stdlib.h:151:12: error: no member named 'ldiv' in the global namespace return ::ldiv(x, y); ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/stdlib.h:154:34: error: unknown type name 'lldiv_t' inline _LIBCPP_INLINE_VISIBILITY lldiv_t div(long long x, ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/stdlib.h:156:12: error: no member named 'lldiv' in the global namespace return ::lldiv(x, y); ~~^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/replpane.jl:84: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/SourceLocation.h:18: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/LLVM.h:22: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Casting.h:19: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/type_traits.h:19: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:265: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare:145: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/compare_partial_order_fallback.h:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__compare/partial_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/weak_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/strong_order.h:20: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:317: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:388:31: error: use of undeclared identifier 'FP_NAN' return builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, x); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:388:39: error: use of undeclared identifier 'FP_INFINITE' return builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, x); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:388:52: error: use of undeclared identifier 'FP_NORMAL' return builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, x); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:388:63: error: use of undeclared identifier 'FP_SUBNORMAL' return builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, x); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:388:77: error: use of undeclared identifier 'FP_ZERO' return builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, x); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:393:21: error: use of undeclared identifier 'FP_ZERO' return __x == 0 ? FP_ZERO : FP_NORMAL; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:393:31: error: use of undeclared identifier 'FP_NORMAL' return x == 0 ? FP_ZERO : FP_NORMAL; ^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/replpane.jl:84: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/SourceLocation.h:18: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/LLVM.h:22: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Casting.h:19: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/type_traits.h:19: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:265: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare:145: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/compare_partial_order_fallback.h:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__compare/partial_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/weak_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/strong_order.h:20: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:350:9: error: no member named 'float_t' in the global namespace using ::float_t _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:351:9: error: no member named 'double_t' in the global namespace using ::double_t _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:356:9: error: no member named 'acosf' in the global namespace using ::acosf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:358:9: error: no member named 'asinf' in the global namespace using ::asinf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:360:9: error: no member named 'atanf' in the global namespace using ::atanf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:362:9: error: no member named 'atan2f' in the global namespace; did you mean 'atan2'? using ::atan2f _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:612:42: note: 'atan2' declared here inline _LIBCPP_HIDE_FROM_ABI float atan2(float y, float x) _NOEXCEPT {return builtin_atan2f(y, x);} ^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/replpane.jl:84: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/SourceLocation.h:18: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/LLVM.h:22: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Casting.h:19: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/type_traits.h:19: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:265: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare:145: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/compare_partial_order_fallback.h:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__compare/partial_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/weak_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/strong_order.h:20: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:364:9: error: no member named 'ceilf' in the global namespace; did you mean 'ceil'? using ::ceilf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:641:64: note: 'ceil' declared here _LIBCPP_NODISCARD_EXT inline _LIBCPP_HIDE_FROM_ABI float ceil(float x) _NOEXCEPT {return builtin_ceilf(__x);} ^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/replpane.jl:84: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/SourceLocation.h:18: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/LLVM.h:22: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Casting.h:19: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/type_traits.h:19: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:265: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare:145: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/compare_partial_order_fallback.h:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/partial_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__compare/weak_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/strong_order.h:20: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:366:9: error: no member named 'cosf' in the global namespace using ::cosf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:368:9: error: no member named 'coshf' in the global namespace; did you mean 'cosh'? using ::coshf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:677:42: note: 'cosh' declared here inline _LIBCPP_HIDE_FROM_ABI float cosh(float x) _NOEXCEPT {return __builtin_coshf(x);} ^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/replpane.jl:84: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/SourceLocation.h:18: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/LLVM.h:22: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Casting.h:19: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/type_traits.h:19: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:265: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare:145: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/compare_partial_order_fallback.h:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__compare/partial_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/weak_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/strong_order.h:20: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:371:9: error: no member named 'expf' in the global namespace using ::expf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:374:9: error: no member named 'fabsf' in the global namespace; did you mean 'fabs'? using ::fabsf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:713:64: note: 'fabs' declared here _LIBCPP_NODISCARD_EXT inline _LIBCPP_HIDE_FROM_ABI float fabs(float x) _NOEXCEPT {return builtin_fabsf(__x);} ^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/replpane.jl:84: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/SourceLocation.h:18: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/LLVM.h:22: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Casting.h:19: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/type_traits.h:19: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:265: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare:145: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/compare_partial_order_fallback.h:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/partial_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__compare/weak_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/strong_order.h:20: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:376:9: error: no member named 'floorf' in the global namespace; did you mean 'floor'? using ::floorf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:731:64: note: 'floor' declared here _LIBCPP_NODISCARD_EXT inline _LIBCPP_HIDE_FROM_ABI float floor(float x) _NOEXCEPT {return __builtin_floorf(x);} ^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/replpane.jl:84: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/SourceLocation.h:18: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/LLVM.h:22: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Casting.h:19: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/type_traits.h:19: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:265: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare:145: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/compare_partial_order_fallback.h:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__compare/partial_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/weak_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/strong_order.h:20: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:379:9: error: no member named 'fmodf' in the global namespace using ::fmodf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:382:9: error: no member named 'frexpf' in the global namespace; did you mean 'frexp'? using ::frexpf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:778:42: note: 'frexp' declared here inline _LIBCPP_HIDE_FROM_ABI float frexp(float x, int* e) _NOEXCEPT {return builtin_frexpf(x, e);} ^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/replpane.jl:84: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/SourceLocation.h:18: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/LLVM.h:22: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Casting.h:19: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/type_traits.h:19: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:265: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare:145: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/compare_partial_order_fallback.h:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__compare/partial_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/weak_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/strong_order.h:20: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:384:9: error: no member named 'ldexpf' in the global namespace; did you mean 'ldexp'? using ::ldexpf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:796:42: note: 'ldexp' declared here inline _LIBCPP_HIDE_FROM_ABI float ldexp(float x, int e) _NOEXCEPT {return builtin_ldexpf(x, e);} ^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/replpane.jl:84: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/SourceLocation.h:18: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/LLVM.h:22: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Casting.h:19: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/type_traits.h:19: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:265: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare:145: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/compare_partial_order_fallback.h:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__compare/partial_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/weak_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/strong_order.h:20: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:387:9: error: no member named 'logf' in the global namespace using ::logf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:390:9: error: no member named 'log10f' in the global namespace; did you mean 'log10'? using ::log10f _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:832:42: note: 'log10' declared here inline _LIBCPP_HIDE_FROM_ABI float log10(float __x) _NOEXCEPT {return builtin_log10f(x);} ^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/replpane.jl:84: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/SourceLocation.h:18: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/LLVM.h:22: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Casting.h:19: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/type_traits.h:19: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:265: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare:145: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__compare/compare_partial_order_fallback.h:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/partial_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/weak_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__compare/strong_order.h:20: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:392:9: error: no member named 'modff' in the global namespace; did you mean 'modf'? using ::modff _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:851:42: note: 'modf' declared here inline _LIBCPP_HIDE_FROM_ABI float modf(float x, float* y) _NOEXCEPT {return __builtin_modff(x, y);} ^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/replpane.jl:84: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/SourceLocation.h:18: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/LLVM.h:22: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Casting.h:19: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/type_traits.h:19: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:265: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare:145: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__compare/compare_partial_order_fallback.h:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/partial_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/weak_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__compare/strong_order.h:20: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:395:9: error: no member named 'powf' in the global namespace; did you mean 'pow'? using ::powf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:864:42: note: 'pow' declared here inline _LIBCPP_HIDE_FROM_ABI float pow(float x, float y) _NOEXCEPT {return __builtin_powf(x, y);} ^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/replpane.jl:84: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/SourceLocation.h:18: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/LLVM.h:22: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Casting.h:19: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/type_traits.h:19: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:265: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare:145: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__compare/compare_partial_order_fallback.h:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/partial_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/weak_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__compare/strong_order.h:20: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:398:9: error: no member named 'sinf' in the global namespace using ::sinf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:400:9: error: no member named 'sinhf' in the global namespace; did you mean 'sinh'? using ::sinhf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:911:42: note: 'sinh' declared here inline _LIBCPP_HIDE_FROM_ABI float sinh(float x) _NOEXCEPT {return builtin_sinhf(__x);} ^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/replpane.jl:84: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/SourceLocation.h:18: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/LLVM.h:22: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Casting.h:19: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/type_traits.h:19: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:265: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare:145: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/compare_partial_order_fallback.h:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/partial_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__compare/weak_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare/strong_order.h:20: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:403:9: error: no member named 'sqrtf' in the global namespace using ::sqrtf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:405:9: error: no member named 'tanf' in the global namespace using ::tanf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:408:9: error: no member named 'tanhf' in the global namespace using ::tanhf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:411:9: error: no member named 'acoshf' in the global namespace using ::acoshf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:413:9: error: no member named 'asinhf' in the global namespace using ::asinhf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:415:9: error: no member named 'atanhf' in the global namespace using ::atanhf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:417:9: error: no member named 'cbrtf' in the global namespace using ::cbrtf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:420:9: error: no member named 'copysignf' in the global namespace using ::copysignf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:423:9: error: no member named 'erff' in the global namespace using ::erff _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:425:9: error: no member named 'erfcf' in the global namespace using ::erfcf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:427:9: error: no member named 'exp2f' in the global namespace using ::exp2f _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:429:9: error: no member named 'expm1f' in the global namespace using ::expm1f _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:431:9: error: no member named 'fdimf' in the global namespace using ::fdimf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:432:9: error: no member named 'fmaf' in the global namespace using ::fmaf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:435:9: error: no member named 'fmaxf' in the global namespace using ::fmaxf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:437:9: error: no member named 'fminf' in the global namespace using ::fminf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:439:9: error: no member named 'hypotf' in the global namespace using ::hypotf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:441:9: error: no member named 'ilogbf' in the global namespace using ::ilogbf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:443:9: error: no member named 'lgammaf' in the global namespace using ::lgammaf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:445:9: error: no member named 'llrintf' in the global namespace using ::llrintf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:447:9: error: no member named 'llroundf' in the global namespace using ::llroundf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:449:9: error: no member named 'log1pf' in the global namespace using ::log1pf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:451:9: error: no member named 'log2f' in the global namespace using ::log2f _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:453:9: error: no member named 'logbf' in the global namespace using ::logbf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:455:9: error: no member named 'lrintf' in the global namespace using ::lrintf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:457:9: error: no member named 'lroundf' in the global namespace using ::lroundf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:459:9: error: no member named 'nan' in the global namespace using ::nan _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:460:9: error: no member named 'nanf' in the global namespace using ::nanf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:463:9: error: no member named 'nearbyintf' in the global namespace using ::nearbyintf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:465:9: error: no member named 'nextafterf' in the global namespace using ::nextafterf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:467:9: error: no member named 'nexttowardf' in the global namespace using ::nexttowardf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:469:9: error: no member named 'remainderf' in the global namespace using ::remainderf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:471:9: error: no member named 'remquof' in the global namespace using ::remquof _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:473:9: error: no member named 'rintf' in the global namespace using ::rintf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:475:9: error: no member named 'roundf' in the global namespace using ::roundf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:477:9: error: no member named 'scalblnf' in the global namespace using ::scalblnf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:479:9: error: no member named 'scalbnf' in the global namespace using ::scalbnf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:481:9: error: no member named 'tgammaf' in the global namespace using ::tgammaf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:483:9: error: no member named 'truncf' in the global namespace using ::truncf _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:485:9: error: no member named 'acosl' in the global namespace using ::acosl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:486:9: error: no member named 'asinl' in the global namespace using ::asinl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:487:9: error: no member named 'atanl' in the global namespace using ::atanl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:488:9: error: no member named 'atan2l' in the global namespace using ::atan2l _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:489:9: error: no member named 'ceill' in the global namespace using ::ceill _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:490:9: error: no member named 'cosl' in the global namespace using ::cosl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:491:9: error: no member named 'coshl' in the global namespace using ::coshl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:492:9: error: no member named 'expl' in the global namespace using ::expl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:493:9: error: no member named 'fabsl' in the global namespace using ::fabsl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:494:9: error: no member named 'floorl' in the global namespace using ::floorl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:495:9: error: no member named 'fmodl' in the global namespace using ::fmodl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:496:9: error: no member named 'frexpl' in the global namespace using ::frexpl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:497:9: error: no member named 'ldexpl' in the global namespace using ::ldexpl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:498:9: error: no member named 'logl' in the global namespace using ::logl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:499:9: error: no member named 'log10l' in the global namespace using ::log10l _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:500:9: error: no member named 'modfl' in the global namespace using ::modfl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:501:9: error: no member named 'powl' in the global namespace using ::powl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:502:9: error: no member named 'sinl' in the global namespace using ::sinl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:503:9: error: no member named 'sinhl' in the global namespace using ::sinhl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:504:9: error: no member named 'sqrtl' in the global namespace using ::sqrtl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:505:9: error: no member named 'tanl' in the global namespace using ::tanl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:507:9: error: no member named 'tanhl' in the global namespace using ::tanhl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:508:9: error: no member named 'acoshl' in the global namespace using ::acoshl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:509:9: error: no member named 'asinhl' in the global namespace using ::asinhl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:510:9: error: no member named 'atanhl' in the global namespace using ::atanhl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:511:9: error: no member named 'cbrtl' in the global namespace using ::cbrtl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:513:9: error: no member named 'copysignl' in the global namespace using ::copysignl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:515:9: error: no member named 'erfl' in the global namespace using ::erfl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:516:9: error: no member named 'erfcl' in the global namespace using ::erfcl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:517:9: error: no member named 'exp2l' in the global namespace using ::exp2l _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:518:9: error: no member named 'expm1l' in the global namespace using ::expm1l _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:519:9: error: no member named 'fdiml' in the global namespace using ::fdiml _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:520:9: error: no member named 'fmal' in the global namespace using ::fmal _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:521:9: error: no member named 'fmaxl' in the global namespace using ::fmaxl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:522:9: error: no member named 'fminl' in the global namespace using ::fminl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:523:9: error: no member named 'hypotl' in the global namespace using ::hypotl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:524:9: error: no member named 'ilogbl' in the global namespace using ::ilogbl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:525:9: error: no member named 'lgammal' in the global namespace using ::lgammal _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:526:9: error: no member named 'llrintl' in the global namespace using ::llrintl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:527:9: error: no member named 'llroundl' in the global namespace using ::llroundl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:528:9: error: no member named 'log1pl' in the global namespace using ::log1pl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:529:9: error: no member named 'log2l' in the global namespace using ::log2l _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:530:9: error: no member named 'logbl' in the global namespace using ::logbl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:531:9: error: no member named 'lrintl' in the global namespace using ::lrintl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:532:9: error: no member named 'lroundl' in the global namespace using ::lroundl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:533:9: error: no member named 'nanl' in the global namespace using ::nanl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:534:9: error: no member named 'nearbyintl' in the global namespace using ::nearbyintl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:535:9: error: no member named 'nextafterl' in the global namespace using ::nextafterl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:536:9: error: no member named 'nexttowardl' in the global namespace using ::nexttowardl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:537:9: error: no member named 'remainderl' in the global namespace using ::remainderl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:538:9: error: no member named 'remquol' in the global namespace using ::remquol _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:539:9: error: no member named 'rintl' in the global namespace using ::rintl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:540:9: error: no member named 'roundl' in the global namespace using ::roundl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:541:9: error: no member named 'scalblnl' in the global namespace using ::scalblnl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:542:9: error: no member named 'scalbnl' in the global namespace using ::scalbnl _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:543:9: error: no member named 'tgammal' in the global namespace using ::tgammal _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:544:9: error: no member named 'truncl' in the global namespace using ::truncl _LIBCPP_USING_IF_EXISTS; ~~^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/replpane.jl:84: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/SourceLocation.h:18: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/LLVM.h:22: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Casting.h:19: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/type_traits.h:19: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:277: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:104:9: error: no member named 'div_t' in the global namespace using ::div_t _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:105:9: error: no member named 'ldiv_t' in the global namespace using ::ldiv_t _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:106:9: error: no member named 'lldiv_t' in the global namespace using ::lldiv_t _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:107:9: error: no member named 'atof' in the global namespace using ::atof _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:108:9: error: no member named 'atoi' in the global namespace using ::atoi _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:109:9: error: no member named 'atol' in the global namespace using ::atol _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:110:9: error: no member named 'atoll' in the global namespace using ::atoll _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:111:9: error: no member named 'strtod' in the global namespace using ::strtod _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:112:9: error: no member named 'strtof' in the global namespace using ::strtof _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:113:9: error: no member named 'strtold' in the global namespace using ::strtold _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:114:9: error: no member named 'strtol' in the global namespace using ::strtol _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:115:9: error: no member named 'strtoll' in the global namespace using ::strtoll _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:116:9: error: no member named 'strtoul' in the global namespace using ::strtoul _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:117:9: error: no member named 'strtoull' in the global namespace using ::strtoull _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:118:9: error: no member named 'rand' in the global namespace using ::rand _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:119:9: error: no member named 'srand' in the global namespace using ::srand _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:120:9: error: no member named 'calloc' in the global namespace using ::calloc _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:121:9: error: no member named 'free' in the global namespace using ::free _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:122:9: error: no member named 'malloc' in the global namespace using ::malloc _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:123:9: error: no member named 'realloc' in the global namespace using ::realloc _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:124:9: error: no member named 'abort' in the global namespace using ::abort _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:125:9: error: no member named 'atexit' in the global namespace using ::atexit _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:126:9: error: no member named 'exit' in the global namespace using ::exit _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:127:9: error: no member named '_Exit' in the global namespace using ::_Exit _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:128:9: error: no member named 'getenv' in the global namespace using ::getenv _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:129:9: error: no member named 'system' in the global namespace using ::system _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:130:9: error: no member named 'bsearch' in the global namespace using ::bsearch _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:131:9: error: no member named 'qsort' in the global namespace using ::qsort _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:133:9: error: no member named 'labs' in the global namespace using ::labs _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:134:9: error: no member named 'llabs' in the global namespace using ::llabs _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:136:9: error: no member named 'ldiv' in the global namespace using ::ldiv _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:137:9: error: no member named 'lldiv' in the global namespace using ::lldiv _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:138:9: error: no member named 'mblen' in the global namespace using ::mblen _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:139:9: error: no member named 'mbtowc' in the global namespace using ::mbtowc _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:140:9: error: no member named 'wctomb' in the global namespace using ::wctomb _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:141:9: error: no member named 'mbstowcs' in the global namespace using ::mbstowcs _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:142:9: error: no member named 'wcstombs' in the global namespace using ::wcstombs _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:144:9: error: no member named 'at_quick_exit' in the global namespace using ::at_quick_exit _LIBCPP_USING_IF_EXISTS; ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:145:9: error: no member named 'quick_exit' in the global namespace using ::quick_exit _LIBCPP_USING_IF_EXISTS; ~~^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/replpane.jl:84: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/SourceLocation.h:18: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/LLVM.h:22: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Casting.h:19: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/type_traits.h:19: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:278: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:100: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/mbstate_t.h:29: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/wchar.h:143:77: error: use of undeclared identifier 'wcschr' wchar_t* libcpp_wcschr(const wchar_t __s, wchar_t __c) {return (wchar_t)wcschr(s, c);} ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/wchar.h:150:87: error: use of undeclared identifier 'wcspbrk' wchar_t __libcpp_wcspbrk(const wchar_t s1, const wchar_t __s2) {return (wchar_t)wcspbrk(s1, s2);} ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/wchar.h:157:78: error: use of undeclared identifier 'wcsrchr' wchar_t __libcpp_wcsrchr(const wchar_t __s, wchar_t c) {return (wchar_t)wcsrchr(s, c);} ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/wchar.h:164:86: error: use of undeclared identifier 'wcsstr' wchar_t libcpp_wcsstr(const wchar_t* s1, const wchar_t __s2) {return (wchar_t)wcsstr(s1, s2);} ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/wchar.h:171:90: error: use of undeclared identifier 'wmemchr' wchar_t __libcpp_wmemchr(const wchar_t s, wchar_t __c, size_t n) {return (wchar_t*)wmemchr(s, c, n);} ^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/replpane.jl:84: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/SourceLocation.h:18: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/LLVM.h:22: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Casting.h:19: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/type_traits.h:19: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:278: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:100: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/mbstate_t.h:44:9: error: no member named 'mbstate_t' in the global namespace using ::mbstate_t _LIBCPP_USING_IF_EXISTS; ~~^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/replpane.jl:84: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/SourceLocation.h:18: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/LLVM.h:22: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Casting.h:19: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/type_traits.h:19: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:278: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:218:14: error: use of undeclared identifier 'mbstate_t' typedef fpos streampos; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:219:14: error: use of undeclared identifier 'mbstate_t' typedef fpos wstreampos; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:223:14: error: use of undeclared identifier 'mbstate_t' typedef fpos u16streampos; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:224:14: error: use of undeclared identifier 'mbstate_t' typedef fpos u32streampos; ^ In file included from /Cxx.h:1: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/replpane.jl:84: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:17: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/SourceLocation.h:18: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/LLVM.h:22: In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Casting.h:21: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:898: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory/shared_ptr.h:31: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory/unique_ptr.h:17: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/hash.h:43:12: error: no member named 'memcpy' in namespace 'std' _VSTD::memcpy(&r, p, sizeof(__r));


In file included from /Cxx.h:1:
In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/replpane.jl:84:
In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17:
In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:17:
In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/SourceLocation.h:18:
In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/LLVM.h:22:
In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Casting.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:898:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/shared_ptr.h:42:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/atomic:525:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__thread/poll_with_backoff.h:15:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__chrono/high_resolution_clock.h:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__chrono/system_clock.h:16:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/ctime:70:9: error: no member named 'clock_t' in the global namespace
using ::clock_t _LIBCPP_USING_IF_EXISTS;
      ~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/ctime:74:9: error: no member named 'time_t' in the global namespace
using ::time_t _LIBCPP_USING_IF_EXISTS;
      ~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/ctime:75:9: error: no member named 'tm' in the global namespace
using ::tm _LIBCPP_USING_IF_EXISTS;
      ~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/ctime:79:9: error: no member named 'clock' in the global namespace
using ::clock _LIBCPP_USING_IF_EXISTS;
      ~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/ctime:80:9: error: no member named 'difftime' in the global namespace
using ::difftime _LIBCPP_USING_IF_EXISTS;
      ~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/ctime:81:9: error: no member named 'mktime' in the global namespace
using ::mktime _LIBCPP_USING_IF_EXISTS;
      ~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/ctime:82:9: error: no member named 'time' in the global namespace
using ::time _LIBCPP_USING_IF_EXISTS;
      ~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/ctime:83:9: error: no member named 'asctime' in the global namespace
using ::asctime _LIBCPP_USING_IF_EXISTS;
      ~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/ctime:84:9: error: no member named 'ctime' in the global namespace
using ::ctime _LIBCPP_USING_IF_EXISTS;
      ~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/ctime:85:9: error: no member named 'gmtime' in the global namespace
using ::gmtime _LIBCPP_USING_IF_EXISTS;
      ~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/ctime:86:9: error: no member named 'localtime' in the global namespace
using ::localtime _LIBCPP_USING_IF_EXISTS;
      ~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/ctime:87:9: error: no member named 'strftime' in the global namespace
using ::strftime _LIBCPP_USING_IF_EXISTS;
      ~~^
In file included from /Cxx.h:1:
In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/replpane.jl:84:
In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17:
In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:17:
In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/SourceLocation.h:18:
In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/LLVM.h:22:
In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Casting.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:898:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/shared_ptr.h:42:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/atomic:525:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__thread/poll_with_backoff.h:15:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__chrono/high_resolution_clock.h:14:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__chrono/system_clock.h:37:12: error: unknown type name 'time_t'
    static time_t     to_time_t  (const time_point& __t) _NOEXCEPT;
           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__chrono/system_clock.h:38:35: error: unknown type name 'time_t'
    static time_point from_time_t(time_t __t) _NOEXCEPT;
                                  ^
In file included from /Cxx.h:1:
In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/replpane.jl:84:
In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17:
In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:17:
In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/SourceLocation.h:18:
In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/LLVM.h:22:
In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Casting.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:898:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/shared_ptr.h:42:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/atomic:526:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__thread/timed_backoff_policy.h:18:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__threading_support:37:11: fatal error: 'pthread.h' file not found
# include <pthread.h>
          ^~~~~~~~~~~
In file included from /Cxx.cpp:1:
In file included from /Cxx.h:1:
In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/replpane.jl:84:
In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17:
In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:17:
In file included from /Users/mac/.julia/dev/Cxx/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/SourceLocation.h:22:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:515:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/boyer_moore_searcher.h:26:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:2246:57: error: no member 'reference' in 'std::__1::vector<bool, std::__1::allocator<bool> >'; it has not yet been instantiated
    _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 reference       operator[](size_type __n)       {return __make_ref(__n);}
                                                        ^
/Users/mac/.julia/dev/Cxx/src/std.jl:43:12: note: in instantiation of template class 'std::__1::vector<bool, std::__1::allocator<bool> >' requested here
__juliavar1.size();
           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:2067:54: note: not-yet-instantiated member is declared here
    typedef __bit_reference<vector>                  reference;
                                                     ^

julia> 
Gnimuc commented 6 months ago

path still wrong? Sorry for the trouble.

not wrong, it's not enough.

Gnimuc commented 6 months ago

you can compile a simple C++ file on the command line using clang and pass -v to see a list of system header dirs.

yxzayy commented 6 months ago

Thank you so much, you're amazing! It seems like it's working now. 1707735070868

Gnimuc commented 6 months ago

you need to check all of the directories listed below:

 /usr/local/include
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/15.0.0/include
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks (framework directory)

you have already added the second one.

for each valid path, you need to do the same as you did above.

yxzayy commented 6 months ago

Can these be added to the system environment variables, or should they be modified in startup.jl?

Gnimuc commented 6 months ago

this? 1707732492372

you need to add them in collectStdHeaders!. you could set environment variables and read them in collectStdHeaders!.

yxzayy commented 6 months ago

thanks!