[LLVMbugs] [Bug 16319] LLVM compiled programs on Windows don't have a return value

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jun 13 10:28:47 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16319

reid.kleckner at gmail.com <reid.kleckner at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |reid.kleckner at gmail.com
         Resolution|---                         |INVALID

--- Comment #1 from reid.kleckner at gmail.com <reid.kleckner at gmail.com> ---
Don't use '&&' after a command that might fail:

rnk at RNK1-W /src/llvm/tools/clang
$ cat t.c
int main() {
  return 1;
}

rnk at RNK1-W /src/llvm/tools/clang
$ clang t.c -o t.exe && ./t.exe ; echo $?
1

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130613/e7da515d/attachment.html>


More information about the llvm-bugs mailing list