Posted by Ciaran McCreesh on July 28, 2009
GCC will accept the following (look closely at S::f’s signature in both places):
struct T
{
void foo()
{
}
};
struct S
{
void f(const T);
};
void
S::f(T t)
{
t.foo();
}
int main(int, char *[])
{
T t;
S s;
s.f(t);
}
The question is, should it?
Update: and the answer is, yes, it should, according to [dcl.fct] in the standard. This is both useful and annoying.
Posted in hate | Tagged: c++, cplusplus | 8 Comments »
Posted by Ciaran McCreesh on July 26, 2009
Paludis 0.38.2 has been released:
- Failures installing qt-core on Gentoo have been fixed.
Posted in paludis releases | Tagged: paludis | Leave a Comment »
Posted by Ciaran McCreesh on July 22, 2009
EAPI 3 was effectively finished three months ago; some of you are no doubt wondering what happened to it and why there hasn’t been any news.
EAPI 3’s approval was conditional upon Portage support. This isn’t unreasonable, at least for main tree usage, although it’s arguably less relevant for overlays. Unfortunately, Portage is suffering from a severe lack of maintainers.
You can track Portage’s EAPI 3 implementation progress via Gentoo’s bugzilla. As you can see, some progress has been made, but it’s slow going, and hasn’t met the “we’ll be ready within a month” goal given at the Council meeting a month ago.
In the mean time, Paludis 0.38.0 has EAPI 3 support present but not enabled at install time (unlike Portage, we don’t hardcode EAPI numbers into the source, so supporting a feature doesn’t involve any kind of treatment for the EAPI that provides it). Anyone wishing to play with EAPI 3 support for personal use can just copy the EAPI 3 definition file from the source tree.
It’s a shame that Gentoo has to hold back on delivering a better user experience and making good ebuilds easier to write because of Portage. I’d like to encourage anyone who can handle Portage’s codebase to give Gentoo the help it so badly needs.
As for future EAPIs… The current Council has expressed an interest in handing off the EAPI approval process to a separate group. This is either good news if that group is going to put in the work necessary to get things done and deliver practical results, or terrible news if that group is going to perpetuate the worst habits of the previous Council.
Posted in eapi 3 | Tagged: eapi 3, gentoo, pms | Leave a Comment »
Posted by Ciaran McCreesh on July 11, 2009
Paludis 0.38.1 has been released:
- Various fixes when using the Portage configuration.
Posted in paludis releases | Tagged: paludis | 2 Comments »
Posted by Ciaran McCreesh on July 9, 2009
I’ve moved some of my Vim plugins from vim.org to Github. This means that rather than having to spend hours painfully updating things on a site with an uptime on par with ahf’s, I can now spend a few seconds updating things locally and then automate waiting hours to be able to push to a site with an uptime on par with ahf’s.
You can now get, and more importantly, send patches that won’t get ignored for:
- inkpot, the original and best 88/256 colour scheme
- detectindent, if you have to work with heretics who don’t use four-space indenting
- securemodelines, if you like modelines but don’t like malicious documents being able to trash your terminal
Posted in vim | Tagged: detectindent, inkpot, securemodelines, vim | Leave a Comment »
Posted by Ciaran McCreesh on July 8, 2009
Paludis 0.38.0 has been released:
- The
=...* dependency operator in configuration files and command-line arguments now matches component-wise rather than character-wise.
- Support for EAPI 3 is present and used during tests but excluded from the install target.
Posted in eapi 3, paludis releases | Tagged: paludis | 2 Comments »