Welcome to the CHICKEN Scheme pasting service

test.scm added by matijja on Sun Feb 3 21:41:50 2019

(require-extension bind)
(bind* "
void test(bool x);
")

;;; Compiled with: csc example.scm
;;; Output:
;;; 
;; test.c:35:11: error: unknown type name 'bool'; did you mean '_Bool'?
;;  void test(bool x);
;;            ^~~~
;;            _Bool
;; test.c: In function 'stub36':
;; test.c:58:1: warning: implicit declaration of function 'test'; did you mean 'tzset'? [-Wimplicit-function-declaration]
;;  test(a0);
;;  ^~~~
;;  tzset
;;; 
;; Error: shell command terminated with non-zero exit status 256: 'gcc' 'test.c' -o 'test.o' -c  -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -Os -fomit-frame-pointer -I/usr/include/chicken

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Type in the text below:
 _                     
| |__  _   _ _ __  ___ 
| '_ \| | | | '_ \/ __|
| |_) | |_| | | | \__ \
|_.__/ \__,_|_| |_|___/
                       
Visually impaired? Let me spell it for you (wav file) download WAV