Ok, I figured that one (Really needed a first argument 'Array')
But now this
@show(typeof(X.name))
name = bytestring([X.name...])
typeof(X.name) = Tuple{UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8
,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8}
WARNING: bytestring(v::Vector{UInt8}) is deprecated, use String(copy(v))
instead.
changing to as suggested
@compat String(copy(X.name))
yields
WARNING: copy(x::Tuple) is deprecated, use identity(x) instead.
in depwarn(::String, ::Symbol) at .\deprecated.jl:64
in copy(::Tuple{UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8
,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8}) at .\deprecated.jl:50
in GMTJL_Set_Object(::Ptr{Void}, ::GMT.GMT_RESOURCE, ::Array{Any,1}) at C:\
j\.julia\v0.5\GMT\src\gmt_main.jl:890
in gmt(::String) at C:\j\.julia\v0.5\GMT\src\gmt_main.jl:230
in ex02(::String, ::String) at C:\j\.julia\v0.5\GMT\test\gallery.jl:108
in gallery(::String, ::String, ::String) at C:\j\.julia\v0.5\GMT\test\
gallery.jl:22
in gallery(::String) at C:\j\.julia\v0.5\GMT\test\gallery.jl:14
in eval(::Module, ::Any) at .\boot.jl:234
in eval_user_input(::Any, ::Base.REPL.REPLBackend) at .\REPL.jl:64
in macro expansion at .\REPL.jl:95 [inlined]
in (::Base.REPL.##3#4{Base.REPL.REPLBackend})() at .\event.jl:46
while loading no file, in expression starting on line 0
ERROR: MethodError: Cannot `convert` an object of type Tuple{UInt8,UInt8,
UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,UInt8,
UInt8,UInt8} to an object of type String
This may have arisen from a call to the constructor String(...),
since type constructors fall back to convert methods.