Re: Silencing compilation warnings when calling compiler explicitly

2022-08-10 Thread Jean Abou Samra
Le 10/08/2022 à 18:05, Jean Abou Samra a écrit : Le 10/08/2022 à 16:42, Jean Abou Samra a écrit : I know that in Guile 3.0 I can do #:warning-level 0, and it works, Correction: no, it does not work (not sure why I thought that). $ cat x.scm (use-modules (system base compile)) (display  (

Re: Silencing compilation warnings when calling compiler explicitly

2022-08-10 Thread Jean Abou Samra
Le 10/08/2022 à 16:42, Jean Abou Samra a écrit : I know that in Guile 3.0 I can do #:warning-level 0, and it works, Correction: no, it does not work (not sure why I thought that). $ cat x.scm (use-modules (system base compile)) (display  (compile '(lambda (x) (case x    

Re: Silencing compilation warnings when calling compiler explicitly

2022-08-10 Thread Jean Abou Samra
Le 10/08/2022 à 16:42, Jean Abou Samra a écrit : Hi, I'm wondering if there is a simple way to shut up warnings emitted when calling compile in Guile 2.2. For example: (use-modules (system base compile)) (display  (compile '(lambda (x) (case x    ((5 5) 5)