Oops, sorry, meant to reply to the list, too. Really? Interesting. I consider explicitly typing out the default behavior to be a prime example of messy. You don't gain anything by having it in the code (there's no readability improvement); in fact, it clutters the code.
But, I guess there's not much that can be done about it. Thanks for the info. -- Rick On Feb 3, 2012, at 13:27 , Joerg Wunsch wrote: > As Rick Mann wrote: > >> I can do that, but it's messy. > > I'd consider typecasts to the default promotion types in variadic > functions not messy but good style. They just make explicit what will > happen anyway. > >> I'm still just questioning the >> correctness of the warning. > > You have to ask the GCC folks about that. > -- > cheers, J"org .-.-. --... ...-- -.. . DL8DTL > > http://www.sax.de/~joerg/ NIC: JW11-RIPE > Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-chat mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/avr-chat
