[haiku-development] Re: What is the use of #pragma mark?

  • From: Maxime Simon <simon.maxime@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 1 Jul 2010 15:10:15 +0200

>
> They aren't used for the compiler, just for the editor, which is fine with
> them commented. I'm not even sure, if the compiler would complain when
> reading those.
>
>
Depending on the options you gave to GCC, you may get a warning like
warning: ignoring #pragma mark

As for #pragma mark itself, it's definitely worth having an editor which
supports it.

Regards,
-- 
Maxime

Other related posts: