[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] EOF problem

From: David Dreisigmeyer
Subject: Re: [Chicken-users] EOF problem
Date: Tue, 7 Dec 2010 16:18:49 -0500

Thank you Alan and Peter - that took care of it.

csc is also complaining about, e.g., int32_t , uint , uint64_t ,
__attribute__ and


If I change, e.g., int32_t to int, uint64_t to unsigned long int
things work out -- not sure if this is a good idea though.  I don't
know how to get the __attribute__ or above #define to work though.

On Tue, Dec 7, 2010 at 3:22 PM, Peter Bex <address@hidden> wrote:
> On Tue, Dec 07, 2010 at 03:15:32PM -0500, David Dreisigmeyer wrote:
>> I'm getting the following error for the attached cl.scm file (OpenCL
>> 1.0 on OS X 10.6):
>> $ csc -s -o cl.scm -framework OpenCL -framework Accelerate
>> Warning: (line 205) unterminated here-doc string literal `EOF'
>> Error: (line 205) unterminated list, starting in line 19
>> Error: shell command terminated with non-zero exit status 17920:
>> /usr/local/bin/chicken-4.6.0 cl.scm -output-file cl.c -dynamic
>> -feature chicken-compile-shared
>> I was trying to follow the gl.scm (in the opengl egg) file as much as 
>> possible.
> Your code is correct, except that the EOF for the heredoc should be
> at the start of a line, and it must be on a line all by itself.
> In your code it has leading whitespace.
> Cheers,
> Peter
> --
> --
> "The process of preparing programs for a digital computer
>  is especially attractive, not only because it can be economically
>  and scientifically rewarding, but also because it can be an aesthetic
>  experience much like composing poetry or music."
>                                                        -- Donald Knuth
> _______________________________________________
> Chicken-users mailing list
> address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]