[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guile 1.8.2 Compile Error [GAH]
From: |
Kevin Brott |
Subject: |
Re: Guile 1.8.2 Compile Error [GAH] |
Date: |
Mon, 12 Nov 2007 15:46:05 -0800 |
Ludovic Courtès wrote:
> >
> > Did you prepend "#define SCM_API extern"? It will fail without this.
> >
When I do that ... and this is the code:
---cut---
main ()
{
#define SCM_API extern
typedef void *(*scm_t_c_hook_function) (void *hook_data,
void *func_data,
void *data);
SCM_API void scm_c_hook_add (scm_t_c_hook *hook,
scm_t_c_hook_function func,
void *func_data,
int appendp);
SCM_API void scm_c_hook_remove (scm_t_c_hook *hook,
scm_t_c_hook_function func,
void *func_data);
}
---cut---
I get ...
# gcc -o test test.c
test.c: In function 'main':
test.c:9: error: expected ')' before '*' token
test.c:14: error: expected ')' before '*' token
--
#include <stddisclaimer.h>
/* Kevin Brott <address@hidden>
* Unix Systems Engineer - SA Group - Provtech
* Providence Health Systems, Tigard, OR
*/
DISCLAIMER:
This message is intended for the sole use of the addressee, and may contain
information that is privileged, confidential and exempt from disclosure under
applicable law. If you are not the addressee you are hereby notified that you
may not use, copy, disclose, or distribute to anyone the message or any
information contained in the message. If you have received this message in
error, please immediately advise the sender by reply email and delete this
message.
- Re: Guile 1.8.2 Compile Error, Kevin Brott, 2007/11/12
- Re: Guile 1.8.2 Compile Error, Ludovic Courtès, 2007/11/12
- Re: Guile 1.8.2 Compile Error, Kevin Brott, 2007/11/12
- Re: Guile 1.8.2 Compile Error [GAH], Kevin Brott, 2007/11/12
- Re: Guile 1.8.2 Compile Error [GAH],
Kevin Brott <=
- Re: Guile 1.8.2 Compile Error [GAH], Ludovic Courtès, 2007/11/12
- Re: Guile 1.8.2 Compile Error [GAH], Kevin Brott, 2007/11/12
- Re: Guile 1.8.2 Compile Error [GAH], Kevin Brott, 2007/11/13
- Re: Guile 1.8.2 Compile Error [GAH], Ludovic Courtès, 2007/11/13
- Re: Guile 1.8.2 Compile Error [GAH], Kevin Brott, 2007/11/13
- Re: Guile 1.8.2 Compile Error [GAH], Neil Jerram, 2007/11/13
- Re: Guile 1.8.2 Compile Error [GAH], Kevin Brott, 2007/11/13
- Re: Guile 1.8.2 Compile Error [GAH], Kevin Brott, 2007/11/13
- Re: Guile 1.8.2 Compile Error [GAH], Ludovic Courtès, 2007/11/14
- Re: Guile 1.8.2 Compile Error [GAH], Kevin Brott, 2007/11/14