add warning about declaration order and links