This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] Do not rely on FIELD_LOC_KIND_BITPOS being zero
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Pedro> We could make the compiler catch these by making the macro return
Pedro> an rvalue.
Yes, please do it. If there is a setter we should make the getter an
rvalue when possible.
Jan> With C++ getters and constructors-with-parameters such problem would have
Jan> never exist.
Also true :)
Tom