Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Nov 2017 20:17:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-toolchain@FreeBSD.org
Subject:   [Bug 223752] clang __attribute__((constructor)) gets wrong input parameters
Message-ID:  <bug-223752-29464-ubuAchovGw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-223752-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-223752-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223752

--- Comment #4 from dstaesse <dimitri.staessens@ugent.be> ---
Are you 100% sure about that? Doesn't this attribute work with functions th=
at
have a signature that is allowable for a main() function? I haven't heard a=
ny
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223752-29464-ubuAchovGw>