James Smith
08/08/2018, 4:58 PMcinterop -flavor=jvm
?
I'm interested in interop between K/N and Kotlin jvm without JNInapperley
08/09/2018, 1:30 AMhmole
08/09/2018, 10:34 AMhmole
08/09/2018, 10:35 AMKonstantin Petrukhnov
08/09/2018, 10:43 AMyusuf3000
08/09/2018, 2:29 PMDmitry Kandalov
08/10/2018, 7:23 AMkonanc_test
function in Kotlin/Native CMake which as I understand can be used to tell CLion which directory contains tests.
Is there a way to generate CMake with konanc_test
entry from build.gradle
?napperley
08/11/2018, 1:49 AMthevery
08/11/2018, 9:39 PMsksk
08/12/2018, 11:43 AMrusshwolf
08/12/2018, 5:27 PMKonstantin Petrukhnov
08/13/2018, 7:11 AMtylerwilson
08/14/2018, 8:20 PMMohit Gurumukhani
08/15/2018, 10:16 PMrjhdby
08/16/2018, 10:12 AMSegmentation Fault
when use it.
gdb
shows surprising error
Program received signal SIGSEGV, Segmentation fault.
kfun:kotlinx.cinterop.toKString@kotlinx.cinterop.CPointer<kotlinx.cinterop.ByteVarOf<kotlin.Byte>>.()kotlin.String ()
at /opt/buildAgent/work/4d622a065c544371/Interop/Runtime/src/main/kotlin/kotlinx/cinterop/Utils.kt:402
402 /opt/buildAgent/work/4d622a065c544371/Interop/Runtime/src/main/kotlin/kotlinx/cinterop/Utils.kt: No such file or directory.
Krizzu
08/17/2018, 8:23 AMkonan
plugin and those new experimental ones? Is Konan
used for mutliplatform or just single platform?Mohit Gurumukhani
08/17/2018, 11:59 PMKonstantin Petrukhnov
08/20/2018, 7:04 AMrjhdby
08/20/2018, 11:27 AMcinterop
if you have 20 macro-proxy func with 3 args in .def
😫
Exception in thread "main" java.lang.Error: /tmp/tmp399964332777824085.c:103:38: error: too many arguments to function call, expected 2, have 3
at org.jetbrains.kotlin.native.interop.indexer.UtilsKt.ensureNoCompileErrors(Utils.kt:137)
at org.jetbrains.kotlin.native.interop.indexer.IndexerKt.indexDeclarations(Indexer.kt:902)
at org.jetbrains.kotlin.native.interop.indexer.IndexerKt.buildNativeIndexImpl(Indexer.kt:892)
at org.jetbrains.kotlin.native.interop.indexer.NativeIndexKt.buildNativeIndex(NativeIndex.kt:56)
at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.processCLib(main.kt:283)
at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.interop(main.kt:38)
at org.jetbrains.kotlin.cli.utilities.InteropCompilerKt.invokeInterop(InteropCompiler.kt:100)
at org.jetbrains.kotlin.cli.utilities.MainKt.main(main.kt:29)
rjhdby
08/22/2018, 11:24 AMfun mixedFrom(value: Any?) = when (value) {
null -> createPhpNull()
is CPointer<zval> -> value
else -> value.toString().mixed
}
error: cannot check for instance of erased type: CPointer<zval /* = _zval_struct */>
is CPointer<zval> -> value
amorenew
08/22/2018, 4:24 PMmutexkid
08/22/2018, 6:00 PMLucas Amaral
08/22/2018, 7:35 PMmutexkid
08/22/2018, 10:39 PMAregev2
08/23/2018, 9:53 AMkpgalligan
08/23/2018, 2:07 PMNikky
08/23/2018, 3:18 PMMohit Gurumukhani
08/23/2018, 11:17 PMjkbbwr
08/24/2018, 2:36 AMjonnyzzz
08/24/2018, 5:25 PMjonnyzzz
08/24/2018, 5:25 PMtrevjones
08/24/2018, 5:41 PMStarting from this release, we no longer support CMake for Kotlin/Native projects in CLion.
🍻russhwolf
08/24/2018, 6:19 PMkotlin-platform-native
plugin or just konan
?Vyacheslav Karpukhin [JB]
08/24/2018, 7:03 PMkonan
.raniejade
08/25/2018, 10:41 PM