Skip to content

Instantly share code, notes, and snippets.

@jfirebaugh
Created February 24, 2012 23:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jfirebaugh/1904618 to your computer and use it in GitHub Desktop.
Save jfirebaugh/1904618 to your computer and use it in GitHub Desktop.
configure:9969: checking for exported function attribute
configure:9996: clang -c -O3 -ggdb conftest.c >&5
clang: warning: argument unused during compilation: '-ggdb'
configure:9996: $? = 0
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define CANONICALIZATION_FOR_MATHN 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_LONG_LONG 1
| #define HAVE_OFF_T 1
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF___INT64 0
| #define SIZEOF_OFF_T 8
| #define SIZEOF_VOIDP 8
| #define SIZEOF_FLOAT 4
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_TIME_T 8
| #define rb_pid_t pid_t
| #define PIDT2NUM(v) INT2NUM(v)
| #define NUM2PIDT(v) NUM2INT(v)
| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
| #define rb_uid_t uid_t
| #define UIDT2NUM(v) UINT2NUM(v)
| #define NUM2UIDT(v) NUM2UINT(v)
| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
| #define rb_gid_t gid_t
| #define GIDT2NUM(v) UINT2NUM(v)
| #define NUM2GIDT(v) NUM2UINT(v)
| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
| #define rb_time_t time_t
| #define TIMET2NUM(v) LONG2NUM(v)
| #define NUM2TIMET(v) NUM2LONG(v)
| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
| #define rb_dev_t dev_t
| #define DEVT2NUM(v) INT2NUM(v)
| #define NUM2DEVT(v) NUM2INT(v)
| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
| #define rb_mode_t mode_t
| #define MODET2NUM(v) UINT2NUM(v)
| #define NUM2MODET(v) NUM2UINT(v)
| #define PRI_MODET_PREFIX PRI_INT_PREFIX
| #define rb_rlim_t rlim_t
| #define RLIM2NUM(v) ULL2NUM(v)
| #define NUM2RLIM(v) NUM2ULL(v)
| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
| #define HAVE_PROTOTYPES 1
| #define TOKEN_PASTE(x,y) x##y
| #define STRINGIZE(expr) STRINGIZE0(expr)
| #define HAVE_STDARG_PROTOTYPES 1
| #define HAVE_VA_ARGS_MACRO 1
| #define HAVE_GCC_ATOMIC_BUILTINS 1
| /* end confdefs.h. */
| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
| RUBY_FUNC_EXPORTED void conftest_attribute_check(void);
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:9996: clang -c -O3 -ggdb conftest.c >&5
clang: warning: argument unused during compilation: '-ggdb'
conftest.c:72:5: warning: unknown attribute 'dllexport' ignored [-Wattributes]
RUBY_FUNC_EXPORTED void conftest_attribute_check(void);
^
conftest.c:71:39: note: expanded from macro 'RUBY_FUNC_EXPORTED'
#define RUBY_FUNC_EXPORTED __declspec(dllexport) extern
^
1 warning generated.
configure:9996: $? = 0
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define CANONICALIZATION_FOR_MATHN 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_LONG_LONG 1
| #define HAVE_OFF_T 1
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF___INT64 0
| #define SIZEOF_OFF_T 8
| #define SIZEOF_VOIDP 8
| #define SIZEOF_FLOAT 4
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_TIME_T 8
| #define rb_pid_t pid_t
| #define PIDT2NUM(v) INT2NUM(v)
| #define NUM2PIDT(v) NUM2INT(v)
| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
| #define rb_uid_t uid_t
| #define UIDT2NUM(v) UINT2NUM(v)
| #define NUM2UIDT(v) NUM2UINT(v)
| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
| #define rb_gid_t gid_t
| #define GIDT2NUM(v) UINT2NUM(v)
| #define NUM2GIDT(v) NUM2UINT(v)
| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
| #define rb_time_t time_t
| #define TIMET2NUM(v) LONG2NUM(v)
| #define NUM2TIMET(v) NUM2LONG(v)
| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
| #define rb_dev_t dev_t
| #define DEVT2NUM(v) INT2NUM(v)
| #define NUM2DEVT(v) NUM2INT(v)
| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
| #define rb_mode_t mode_t
| #define MODET2NUM(v) UINT2NUM(v)
| #define NUM2MODET(v) NUM2UINT(v)
| #define PRI_MODET_PREFIX PRI_INT_PREFIX
| #define rb_rlim_t rlim_t
| #define RLIM2NUM(v) ULL2NUM(v)
| #define NUM2RLIM(v) NUM2ULL(v)
| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
| #define HAVE_PROTOTYPES 1
| #define TOKEN_PASTE(x,y) x##y
| #define STRINGIZE(expr) STRINGIZE0(expr)
| #define HAVE_STDARG_PROTOTYPES 1
| #define HAVE_VA_ARGS_MACRO 1
| #define HAVE_GCC_ATOMIC_BUILTINS 1
| /* end confdefs.h. */
| #define RUBY_FUNC_EXPORTED __declspec(dllexport) extern
| RUBY_FUNC_EXPORTED void conftest_attribute_check(void);
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:10008: result: no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment