On the Euler equations for non--homogeneous fluids