c++ - How to build an old library with obsoleted idioms? -


i want build old open-source library ('speech-tools' here) embedded device. library mix of c , c++ code. device must use gcc 4.4 or up. library, however, seems use old code, contains #include <iostream.h> everywhere , not using std:: namespace , on.

so question is: possible make gcc 4 remember old days , build pre-standart c code gcc 3 did? not want tinker source code of library because huge, , don't want add subtle bugs (they in abundance already).

i have tried -std=c98 , c++98 , of cause didn't because pre-98 code form. however, guys on net claim have build gcc4.5, , didn't mention tinkering source.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -