Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clang Warnings #35

Closed
Keno opened this issue Dec 13, 2013 · 0 comments
Closed

Clang Warnings #35

Keno opened this issue Dec 13, 2013 · 0 comments

Comments

@Keno
Copy link
Contributor

Keno commented Dec 13, 2013

Latest julia master:

amd64/fenv.c:49:15: warning: attribute declaration must precede definition
      [-Wignored-attributes]
extern inline DLLEXPORT int feclearexcept(int __excepts);
              ^
/Users/kfischer/julia-clean/deps/openlibm/src/math_private.h:452:35: note:
      expanded from macro 'DLLEXPORT'
#define DLLEXPORT __attribute__ ((visibility("default")))
                                  ^
/Users/kfischer/julia-clean/deps/openlibm/amd64/fenv.h:97:1: note: previous
      definition is here
feclearexcept(int __excepts)
^
amd64/fenv.c:50:15: warning: attribute declaration must precede definition
      [-Wignored-attributes]
extern inline DLLEXPORT int fegetexceptflag(fexcept_t *__flagp, int __excepts);
              ^
/Users/kfischer/julia-clean/deps/openlibm/src/math_private.h:452:35: note:
      expanded from macro 'DLLEXPORT'
#define DLLEXPORT __attribute__ ((visibility("default")))
                                  ^
/Users/kfischer/julia-clean/deps/openlibm/amd64/fenv.h:115:1: note: previous
      definition is here
fegetexceptflag(fexcept_t *__flagp, int __excepts)
^
amd64/fenv.c:80:15: warning: attribute declaration must precede definition
      [-Wignored-attributes]
extern inline DLLEXPORT int fetestexcept(int __excepts);
              ^
/Users/kfischer/julia-clean/deps/openlibm/src/math_private.h:452:35: note:
      expanded from macro 'DLLEXPORT'
#define DLLEXPORT __attribute__ ((visibility("default")))
                                  ^
/Users/kfischer/julia-clean/deps/openlibm/amd64/fenv.h:130:1: note: previous
      definition is here
fetestexcept(int __excepts)
^
amd64/fenv.c:81:15: warning: attribute declaration must precede definition
      [-Wignored-attributes]
extern inline DLLEXPORT int fegetround(void);
              ^
/Users/kfischer/julia-clean/deps/openlibm/src/math_private.h:452:35: note:
      expanded from macro 'DLLEXPORT'
#define DLLEXPORT __attribute__ ((visibility("default")))
                                  ^
/Users/kfischer/julia-clean/deps/openlibm/amd64/fenv.h:141:1: note: previous
      definition is here
fegetround(void)
^
amd64/fenv.c:82:15: warning: attribute declaration must precede definition
      [-Wignored-attributes]
extern inline DLLEXPORT int fesetround(int __round);
              ^
/Users/kfischer/julia-clean/deps/openlibm/src/math_private.h:452:35: note:
      expanded from macro 'DLLEXPORT'
#define DLLEXPORT __attribute__ ((visibility("default")))
                                  ^
/Users/kfischer/julia-clean/deps/openlibm/amd64/fenv.h:156:1: note: previous
      definition is here
fesetround(int __round)
^
amd64/fenv.c:113:15: warning: attribute declaration must precede definition
      [-Wignored-attributes]
extern inline DLLEXPORT int fesetenv(const fenv_t *__envp);
              ^
/Users/kfischer/julia-clean/deps/openlibm/src/math_private.h:452:35: note:
      expanded from macro 'DLLEXPORT'
#define DLLEXPORT __attribute__ ((visibility("default")))
                                  ^
/Users/kfischer/julia-clean/deps/openlibm/amd64/fenv.h:181:1: note: previous
      definition is here
fesetenv(const fenv_t *__envp)
^
6 warnings generated.
tkelman added a commit that referenced this issue Feb 27, 2016
This reverts commit 8b3b520.
This was causing dllexport-related errors on win64
ViralBShah added a commit that referenced this issue Feb 27, 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

No branches or pull requests

1 participant