[Bug rust/113461] New: [14 Regression] rust-proc-macro.cc:174:15: error: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Werror=format=]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113461 Bug ID: 113461 Summary: [14 Regression] rust-proc-macro.cc:174:15: error: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Werror=format=] Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rust Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org CC: dkm at gcc dot gnu.org, gcc-rust at gcc dot gnu.org Target Milestone: --- Host: hppa*-*-linux* Target: hppa*-*-linux* Build: hppa*-*-linux* /home/dave/gnu/gcc/objdir/./prev-gcc/xg++ -B/home/dave/gnu/gcc/objdir/./prev-gcc / -B/home/dave/opt/gnu/gcc/gcc-14/hppa-linux-gnu/bin/ -nostdinc++ -B/home/dave/g nu/gcc/objdir/prev-hppa-linux-gnu/libstdc++-v3/src/.libs -B/home/dave/gnu/gcc/objdir/prev-hppa-linux-gnu/libstdc++-v3/libsupc++/.libs -I/home/dave/gnu/gcc/objdir/prev-hppa-linux-gnu/libstdc++-v3/include/hppa-linux-gnu -I/home/dave/gnu/gcc/objdir/prev-hppa-linux-gnu/libstdc++-v3/include -I/home/dave/gnu/gcc/gcc/libstdc++-v3/libsupc++ -L/home/dave/gnu/gcc/objdir/prev-hppa-linux-gnu/libstdc++-v3/src/.libs -L/home/dave/gnu/gcc/objdir/prev-hppa-linux-gnu/libstdc++-v3/libsupc++/.libs -fno-PIE -c -DIN_GCC_FRONTEND -g -O2 -fno-checking -DIN_GCC-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -Wno-unused-parameter -DHAVE_CONFIG_H -fno-PIE -I. -Irust -I../../gcc/gcc -I../../gcc/gcc/rust -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include -I../../gcc/gcc/../libcody -I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc/gcc/../libbacktrace -o rust/rust-macro-invoc-lexer.o -MT rust/rust-macro-invoc-lexer.o -MMD -MP -MF rust/.deps/rust-macro-invoc-lexer.TPo -g -O2 -fno-checking -I ../../gcc/gcc/rust -I ../../gcc/gcc/rust/lex -I ../../gcc/gcc/rust/parse -I ../../gcc/gcc/rust/ast -I ../../gcc/gcc/rust/analysis -I ../../gcc/gcc/rust/backend -I ../../gcc/gcc/rust/expand -I ../../gcc/gcc/rust/hir/tree -I ../../gcc/gcc/rust/hir -I ../../gcc/gcc/rust/resolve -I ../../gcc/gcc/rust/util -I ../../gcc/gcc/rust/typecheck -I ../../gcc/gcc/rust/checks/lints -I ../../gcc/gcc/rust/checks/errors -I ../../gcc/gcc/rust/checks/errors/privacy -I ../../gcc/gcc/rust/checks/errors/borrowck -I ../../gcc/gcc/rust/util -I ../../gcc/gcc/rust/metadata -I ../../gcc/gcc/../libgrust ../../gcc/gcc/rust/expand/rust-macro-invoc-lexer.cc In file included from ../../gcc/gcc/rust/expand/rust-proc-macro.cc:18: ../../gcc/gcc/rust/expand/rust-proc-macro.cc: In function 'const std::vector Rust::load_macros(std::string)': ../../gcc/gcc/rust/expand/rust-proc-macro.cc:174:15: error: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Werror=format=] 174 | rust_debug ("Found %lu procedural macros", array->length); | ^ ~ | | | long long unsigned int ../../gcc/gcc/rust/rust-diagnostics.h:305:57: note: in definition of macro 'rust_debug' 305 | #define rust_debug(...) rust_debug_loc (UNDEF_LOCATION, __VA_ARGS__) | ^~~ ../../gcc/gcc/rust/expand/rust-proc-macro.cc:174:24: note: format string is defined here 174 | rust_debug ("Found %lu procedural macros", array->length); | ~~^ || |long unsigned int | %llu -- You are receiving this mail because: You are on the CC list for the bug.
Re: GCC GSoC 2024: Call for project ideas and mentors
On Mon, 2024-01-15 at 18:48 +0100, Martin Jambor wrote: > Hello, > > another year has passed, Google has announced there will be again > Google > Summer of Code (GsoC) in 2024 and the deadline for organizations to > apply is already approaching (February 6th). I'd like to volunteer > to > be the main org-admin for GCC again but let me know if you think I > shouldn't or that someone else should or if you want to do it > instead. > Otherwise I'll assume that I will and I hope that I can continue to > rely > on David Edelsohn and Thomas Schwinge to back me up and help me with > some decision making along the way as my co-org-admins. Hi Martin, thanks for stepping up, and thanks to you, David and Thomas for your work on this in past years. > > The most important bit: > > > I would like to ask all (moderately) seasoned GCC contributors to > consider mentoring a contributor this year and ideally also come up > with > a project that they would like to lead. I'm collecting proposal on > our > wiki page https://gcc.gnu.org/wiki/SummerOfCode - feel free to add > yours > to the top list there. Or, if you are unsure, post your offer and > project idea as a reply here to the mailing list. I hope to mentor again this year; I've refreshed the analyzer ideas on that page. [...snip...] Dave
[Bug rust/113461] [14 Regression] rust-proc-macro.cc:174:15: error: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Werror=format=]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113461 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed||2024-01-18 Keywords||build --- Comment #1 from Andrew Pinski --- Confirmed, this was also reported on IRC. I think there will be a patch pushed in the next day or so too to fix this. -- You are receiving this mail because: You are on the CC list for the bug.