Starting from a more complex trial to add a new shape, I arrive to this minimal example which does not compile. I use PGF 2.10
\documentclass[12pt]{article}
\usepackage{tikz}
\pgfdeclareshape{minex}{}
\begin{document}
\begin{tikzpicture}
\node[minex] {};
\end{tikzpicture}
\end{document}
The received error message is :
ERROR: Package PGF Math Error: Unknown function `center' (in 'center').
TeX said:
See the PGF Math package documentation for explanation.
Type H <return> for immediate help.
...
l.7 \node[minex] {};