This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: segfault when functions are defined in headers or inlined


On 10 July 2015 at 12:04, achkan wrote:
> Thanks a lot for you answer. Yes, this happens with every inline function. If
> I could write a simple, self-contained complete program that shows the
> problem, I would gladly do it (I think this would take me more than a
> year...).

That's ridiculous. If it happens with *every* function then you could
write a single file with one inline function and call it from main(),
if that fails you've reproduced the problem (in a lot less than a
year!) and if it doesn't fail then it proves it doesn't happen for
*every* function and there must be something particular to your
library. Maybe http://stackoverflow.com/help/mcve will help.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]