Re: Package add request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 30/09/17 13:24 +0200, Kevin Kofler wrote:
adel.ks@xxxxxxxxxxxxx wrote:
Yea well, since I used the convention of including libs only in the .h I
didn't do so. But yes you're right! I will update that.

Well, that convention doesn't make sense to begin with.

You should only #include in the .h file what you actually need to declare
your public API. Anything required only as part of the implementation should
be #include-d only in the .cpp file.

Yes, it's not a convention, it's a bug.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux