[Bug 223752] clang __attribute__((constructor)) gets wrong input parameters
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Nov 19 20:17:04 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223752
--- Comment #4 from dstaesse <dimitri.staessens at ugent.be> ---
Are you 100% sure about that? Doesn't this attribute work with functions that
have a signature that is allowable for a main() function? I haven't heard any
compiler complain, and we tried combinations of GNU/Linux, OS X and FreeBSD
compiling with gcc or (Apple)clang. So far, it worked flawlessly except on
FreeBSD when compiling with clang.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-toolchain
mailing list