FlatBuffers.jl icon indicating copy to clipboard operation
FlatBuffers.jl copied to clipboard

Question on __precompile__=false in flatc generated files?

Open jonalm opened this issue 5 years ago • 0 comments
trafficstars

Thanks for your effort on Flatbuffers!

I've used the pr branch for flatc support in julia (https://github.com/google/flatbuffers/pull/5088) to generate julia code for a fb-schema. This works fine for me, even though the pr isn't merged.

The generated code contains some __precompile__=false, and I wondered what the motivation for those statements are? Are they important for Flatbuffer functionality? Can I manually remove them? The specific problem is that I do not manage to use PackageCompiler with the generated code.

Best. J

jonalm avatar Mar 27 '20 13:03 jonalm