-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error Variadic Parameters - [E0045] #2382
Labels
Comments
MahadMuhammad
changed the title
Error Variadic Paramters - [E0045]
Error Variadic Parameters - [E0045]
Jul 5, 2023
We need to add an ABI check in type check of call expressions: we can check of the function we are type checking is varadic this is missing another if statement for: if (type.get_abi () != ABI::C) |
@MahadMuhammad ^^^ |
MahadMuhammad
added a commit
to MahadMuhammad/gccrs
that referenced
this issue
Jul 18, 2023
Fixes Rust-GCC#2382 [skip actions] gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-implitem.cc (TypeCheckTopLevelExternItem::visit): Added error code support. gcc/testsuite/ChangeLog: * rust/compile/abi-vardaic.rs: New test. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
|
MahadMuhammad
added a commit
to MahadMuhammad/gccrs
that referenced
this issue
Jul 19, 2023
Added error code support for using variadic parameters used on Non-C ABI function. Fixes Rust-GCC#2382 gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-implitem.cc (TypeCheckTopLevelExternItem::visit): Added check for error code support. gcc/testsuite/ChangeLog: * rust/compile/abi-vardaic.rs: New test. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
github-merge-queue bot
pushed a commit
that referenced
this issue
Jul 27, 2023
Added error code support for using variadic parameters used on Non-C ABI function. Fixes #2382 gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-implitem.cc (TypeCheckTopLevelExternItem::visit): Added check for error code support. gcc/testsuite/ChangeLog: * rust/compile/abi-vardaic.rs: New test. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Nov 15, 2023
Added error code support for using variadic parameters used on Non-C ABI function. Fixes Rust-GCC#2382 gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-implitem.cc (TypeCheckTopLevelExternItem::visit): Added check for error code support. gcc/testsuite/ChangeLog: * rust/compile/abi-vardaic.rs: New test. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Nov 21, 2023
Added error code support for using variadic parameters used on Non-C ABI function. Fixes Rust-GCC#2382 gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-implitem.cc (TypeCheckTopLevelExternItem::visit): Added check for error code support. gcc/testsuite/ChangeLog: * rust/compile/abi-vardaic.rs: New test. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Nov 21, 2023
Added error code support for using variadic parameters used on Non-C ABI function. Fixes Rust-GCC#2382 gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-implitem.cc (TypeCheckTopLevelExternItem::visit): Added check for error code support. gcc/testsuite/ChangeLog: * rust/compile/abi-vardaic.rs: New test. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 5, 2024
Added error code support for using variadic parameters used on Non-C ABI function. Fixes Rust-GCC#2382 gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-implitem.cc (TypeCheckTopLevelExternItem::visit): Added check for error code support. gcc/testsuite/ChangeLog: * rust/compile/abi-vardaic.rs: New test. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 8, 2024
Added error code support for using variadic parameters used on Non-C ABI function. Fixes Rust-GCC#2382 gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-implitem.cc (TypeCheckTopLevelExternItem::visit): Added check for error code support. gcc/testsuite/ChangeLog: * rust/compile/abi-vardaic.rs: New test. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 9, 2024
Added error code support for using variadic parameters used on Non-C ABI function. Fixes Rust-GCC#2382 gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-implitem.cc (TypeCheckTopLevelExternItem::visit): Added check for error code support. gcc/testsuite/ChangeLog: * rust/compile/abi-vardaic.rs: New test. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 9, 2024
Added error code support for using variadic parameters used on Non-C ABI function. Fixes Rust-GCC#2382 gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-implitem.cc (TypeCheckTopLevelExternItem::visit): Added check for error code support. gcc/testsuite/ChangeLog: * rust/compile/abi-vardaic.rs: New test. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 9, 2024
Added error code support for using variadic parameters used on Non-C ABI function. Fixes Rust-GCC#2382 gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-implitem.cc (TypeCheckTopLevelExternItem::visit): Added check for error code support. gcc/testsuite/ChangeLog: * rust/compile/abi-vardaic.rs: New test. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 9, 2024
Added error code support for using variadic parameters used on Non-C ABI function. Fixes Rust-GCC#2382 gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-implitem.cc (TypeCheckTopLevelExternItem::visit): Added check for error code support. gcc/testsuite/ChangeLog: * rust/compile/abi-vardaic.rs: New test. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 9, 2024
Added error code support for using variadic parameters used on Non-C ABI function. Fixes Rust-GCC#2382 gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-implitem.cc (TypeCheckTopLevelExternItem::visit): Added check for error code support. gcc/testsuite/ChangeLog: * rust/compile/abi-vardaic.rs: New test. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 9, 2024
Added error code support for using variadic parameters used on Non-C ABI function. Fixes Rust-GCC#2382 gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-implitem.cc (TypeCheckTopLevelExternItem::visit): Added check for error code support. gcc/testsuite/ChangeLog: * rust/compile/abi-vardaic.rs: New test. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 11, 2024
Added error code support for using variadic parameters used on Non-C ABI function. Fixes Rust-GCC#2382 gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-implitem.cc (TypeCheckTopLevelExternItem::visit): Added check for error code support. gcc/testsuite/ChangeLog: * rust/compile/abi-vardaic.rs: New test. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 12, 2024
Added error code support for using variadic parameters used on Non-C ABI function. Fixes Rust-GCC#2382 gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-implitem.cc (TypeCheckTopLevelExternItem::visit): Added check for error code support. gcc/testsuite/ChangeLog: * rust/compile/abi-vardaic.rs: New test. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 16, 2024
Added error code support for using variadic parameters used on Non-C ABI function. Fixes Rust-GCC#2382 gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-implitem.cc (TypeCheckTopLevelExternItem::visit): Added check for error code support. gcc/testsuite/ChangeLog: * rust/compile/abi-vardaic.rs: New test. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 16, 2024
Added error code support for using variadic parameters used on Non-C ABI function. Fixes Rust-GCC#2382 gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-implitem.cc (TypeCheckTopLevelExternItem::visit): Added check for error code support. gcc/testsuite/ChangeLog: * rust/compile/abi-vardaic.rs: New test. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 17, 2024
Added error code support for using variadic parameters used on Non-C ABI function. Fixes Rust-GCC#2382 gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-implitem.cc (TypeCheckTopLevelExternItem::visit): Added check for error code support. gcc/testsuite/ChangeLog: * rust/compile/abi-vardaic.rs: New test. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Variadic Parameters Used on Non-C ABI Function
compiler-explorer
I tried this code from
E0045
:I expected to see this happen:
Instead, this happened:
Meta
gccrs (Compiler-Explorer-Build-gcc-2f91d511200bf85558c9013b09a458c06edd1e02-binutils-2.40) 13.0.1 20230417 (experimental)
The text was updated successfully, but these errors were encountered: