on line 121 of this code u_int32_t* decode(string[8]=NULL, string[2]=NULL);
the code is part of this header library http://pastebin.com/NS8V0ByK
and the function definition is in this code at line 217 http://pastebin.com/M9fuppa1
it is kind of urgent so kindly any of you can help i will be thankful.
i am compiling on Ubuntu 12.04 32bit with gcc (Ubuntu/Linaro 4.5.3-9ubuntu1) 4.5.4
I am not going to look through your references and do not advice others to do so. It is you who shall show relevant code.
If to take into accout that string is std::string and a using directive is present then the statement you showed here is correct provided also that declaration of u_int32_t is visible.
he code you posted to the forum compiles without warnings, as you can see here: http://ideone.com/4geHw (providing the necessary includes and typedefs)
The code you posted on pastebin stops compiling at the missing "config.h", long before the diagnostic you're describing.
Trim your program down to an example that reproduces the problem on http://ideone.com (it's an online compiler), then you're more likely to find help online.