You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code fails to compile with the LLVM backend.
import URL;
var r = URL.openUrlReader("http://www.example.com");
$CHPL_HOME/modules/packages/Curl.chpl:159: In module 'Curl':
$CHPL_HOME/modules/packages/Curl.chpl:399: error: Could not find C variable CURLPAUSE_CONT - perhaps it is a complex macro?
However, when using the C backend this compiles and works properly. The root cause of this is that the LLVM backend can't have extern variables to macros (as the error message suggests), and so a fix for this issue would be to just have that support. However, I could not find a relevant existing issue for that feature request, and so instead am treating this as a bug with URL/Curl.
The following code fails to compile with the LLVM backend.
However, when using the C backend this compiles and works properly. The root cause of this is that the LLVM backend can't have extern variables to macros (as the error message suggests), and so a fix for this issue would be to just have that support. However, I could not find a relevant existing issue for that feature request, and so instead am treating this as a bug with URL/Curl.
Chplenv
Chplenv with C backend
The text was updated successfully, but these errors were encountered: