Dominique, what I said was that it is undefined behaviour in C++ to return
a *value* in a void function. That is still true.
On Mon, Feb 11, 2019 at 2:49 PM Dominique Devienne
wrote:
> On Mon, Feb 11, 2019 at 1:11 PM Clemens Ladisch
> wrote:
>
> > Peter da Silva wrote:
> > > I am pretty sure
l Linker Version 14.12.25831.0
Copyright (C) Microsoft Corporation. All rights reserved.
/out:return-void.exe
return-void.obj
/Jonas
On Mon, Feb 11, 2019 at 11:58 AM Dominique Devienne
wrote:
> On Mon, Feb 11, 2019 at 11:31 AM Jonas Bülow
> wrote:
>
> > Sorry, I missed some
returning a value
[c:\work\sqlite-amalgamation-3270100\sqlite3.vcxproj]
Done Building Project "c:\sqlite-amalgamation-3270100\sqlite3.vcxproj"
(default targets) -- FAILED.
On Mon, Feb 11, 2019 at 11:21 AM Dominique Devienne
wrote:
> On Mon, Feb 11, 2019 at 11:16 AM Jonas B
The subject should say "3.27.1". Sorry!
On Mon, Feb 11, 2019 at 11:14 AM Jonas Bülow wrote:
> Just tried to update my sqlite version from 3.24 to 3.27.1 and the
> compiler complained about a void function returning a value. I don't know
> about C, but in C++ this is
Just tried to update my sqlite version from 3.24 to 3.27.1 and the compiler
complained about a void function returning a value. I don't know about C,
but in C++ this is undefined behaviour and the clang compiler sometimes
generate an ud2 instruction for such code.
It's on line 58165 in
5 matches
Mail list logo