g++ 4.2 : nice!

September 13, 2007

Eh, I was hunting bugs with my favorite unnamed editor today, when I was savagely attacked by a big pile of warnings I hadn’t seen before. Apparently, the g++ I have (4.2.1) doesn’t like when one gives constant strings to functions which declare they need a char* — a const gchar * wouldn’t trigger the warning. And this is so right!

So here I am, fixing ekiga’s internal apis here and there, basically adding ‘const’ keywords which should really have been there already.

Our code will be that much cleaner 🙂

One Response to “g++ 4.2 : nice!”

  1. Hub Says:

    Gtk needs some fixeage. It spits gazillion of warnings for that.


Leave a Reply

You must be logged in to post a comment.