[hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-dev@xxxxxxxxxxxxx
  • Date: Mon, 27 Feb 2012 13:52:03 +0100

On Mon, Feb 27, 2012 at 02:48:01PM +0200, Xin Gu wrote:
> On 27/02/12 14:34, Diego Biurrun wrote:
> >>I have one suggestion: for the function declaration in the header
> >>file, I suggest that we can eliminate this kind of const because it
> >>makes no sense for the API caller.
> >Having declaration and definition differ opens a very scary can of worms
> >IMO, let's not go down this road.  I very much miss a gcc option to
> >scream and shout at such abuses.
> 
> Hmm, well, it just a suggestion. Could you tell me what is this gcc
> option?

I meant that I "miss" the option because none exists (AFAIK) and I
would like to see one implemented.

Diego

Other related posts: