in reply to Re: Plz suggest what is the problem in the following code?
in thread Plz suggest what is the problem in the following code?
Hmmm ... this is either an OS issue or a compiler issue. On my up-to-date ubuntu boxes, your examples segfault. I chalked it up to the two mains issue (which if not a cross-platform bug is at least bad form). I can see where dynamic loading after the interpreter could let you load a shared object that has another main defined (and from what I can tell, Inline does no type of name mangling) so ... maybe that behavior is undefined?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Plz suggest what is the problem in the following code?
by BrowserUk (Patriarch) on Feb 03, 2009 at 23:00 UTC | |
by derby (Abbot) on Feb 04, 2009 at 11:57 UTC | |
by BrowserUk (Patriarch) on Feb 04, 2009 at 12:20 UTC | |
by derby (Abbot) on Feb 04, 2009 at 12:33 UTC | |
by BrowserUk (Patriarch) on Feb 04, 2009 at 12:50 UTC | |
|