Running Erlang Drivers like simple C Program

  c++, erlang, erlang-otp, unix

I just want to know why running any C driver of the Erlang RunTime System’s drivers like a C program (using cc in FreeBSD and add all needed paths to included headers files) ends with lot of warnings and errors ? And why these drivers works perfectly when start Erlang System ?

Source: Windows Questions C++