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

Re: build ocsync & owncloud-client



On 19/09/13 00:07, Robert Millan wrote:
> How does pre-processed source look like?

I didn't see anything odd about it...

But never mind.  I tried with Clang and got a different error that makes
more sense.  Probably fcntl.h isn't being included until later:

> In file included from /home/steven/ocsync-0.90.0/src/csync.c:56:
> In file included from /home/steven/ocsync-0.90.0/src/vio/csync_vio.h:28:
> In file included from /usr/include/fcntl.h:35:
> /usr/include/x86_64-kfreebsd-gnu/bits/fcntl.h:74:8: error: expected '}'
> enum { O_NOATIME = 0};          /* Do not set atime.  */
>        ^
> /home/steven/ocsync-0.90.0/src/std/c_private.h:74:19: note: expanded from macro 'O_NOATIME'
> #define O_NOATIME 0
>                   ^
> /usr/include/x86_64-kfreebsd-gnu/bits/fcntl.h:74:6: note: to match this '{'
> enum { O_NOATIME = 0};          /* Do not set atime.  */
>      ^
> 1 error generated.

Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org


Reply to: