Skip to content

Conversation

moteus
Copy link
Member

@moteus moteus commented Apr 7, 2016

No description provided.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 63.636% when pulling a038558 on moteus:master into f42a0e4 on Lua-cURL:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.4%) to 63.12% when pulling a0a0cac on moteus:master into f42a0e4 on Lua-cURL:master.

@rocaltair
Copy link

it doesn't work under linux gcc(4.4.7)

gcc --version 
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

under clang on Mac OSX, it works
but warning remains

In file included from src/lceasy.c:15:
src/lchttppost.h:36:2: warning: redefinition of typedef 'lcurl_hpost_t' is a C11 feature [-Wtypedef-redefinition]
}lcurl_hpost_t;
struct lcurl_hpost_tag;
typedef struct lcurl_hpost_tag lcurl_hpost_t;

typedef struct lcurl_easy_tag{
  unsigned char magic;

  lua_State *L; 
  lcurl_callback_t rd; 
  lcurl_read_buffer_t rbuffer;

  lcurl_hpost_t *post;

  CURL *curl;
  int storage;
  int lists[LCURL_LIST_COUNT];
  int err_mode;
  lcurl_callback_t wr; 
  lcurl_callback_t hd; 
  lcurl_callback_t pr; 
}lcurl_easy_t;

@moteus
Copy link
Member Author

moteus commented Apr 8, 2016

Try last one

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.4%) to 63.12% when pulling d2d771f on moteus:master into f42a0e4 on Lua-cURL:master.

@rocaltair
Copy link

fixed~ :)

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.4%) to 63.12% when pulling f282bc3 on moteus:master into f42a0e4 on Lua-cURL:master.

@moteus moteus merged commit 3055e1d into Lua-cURL:master Apr 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants