QUOTE (Nikkolaj @ Nov 16 2010, 08:19)

Warning[w6]: Type conflict for external/entry "sprintf", in module main against external/entry in module ?sprintf; types have different type attributes
Забыли #include <stdio.h> Перед этим при компиляции он должен был ругаться что function declared implicitly.