Hi, Never spotted the "used" attribute in the docs. Many thanks for the help - problem sorted. Regards -- View this message in context: http://www.nabble.com/%22Undefined-reference-to-...%22-Errors-tp23411190p23411958.html Sent from the gcc - Help mailing list archive at Nabble.com.