Mail Archives: djgpp/1998/03/28/13:01:31
Geoff Schoenbaum, MD, PhD wrote:
>
> Ach - just discovered these functions are not part of conio.h as it is
> delivered by djgpp - interesting because they are in conio.h as it is
> delivered in ms vc++. From poking around I have surmised that I need to
> replace my calls to _inp with inpw and _outp with outpw in order to use
> the same variables and return the same values my program currently
> expects. This is my first foray outside of vc++, will I be finding that
> many of my STL functions are not compatible with the libraries in djgpp?
As with nearly any major compiler change, you'll discover some major
incompatibilies and a lot of minor ones, such as the above. Most of
them can be resolved with the documentation (in the case of DJGPP, you
can simply look up the desired function/class/keyword in the
libc/libgpp/libstdcxx documentation to see what the differences are.
For major C or low-level incompatibilities, you should look in the DJGPP
Frequently Asked Questions list; it has several chapters devoted to
explaining how to convert code from other PC compilers.
For C++ support, the issues become a lot more complex and, as yet,
nobody has compiled an equivalent FAQ for converting STL code. While we
wait for this to happen, you should ask any questions you have on this
newsgroup/mailing list and somebody will try to help. You may find that
a lot of the problems you encounter have already been discussed at
length; before posting new messages, search the list archives via
http://www.delorie.com/djgpp/mail-archives/ or the newsgroup via
DejaNews (http://www.dejanews.com/). Chances are you'll find that
somebody has asked your question before.
Good luck!
--
---------------------------------------------------------------------
| John M. Aldrich | "Animals can be driven crazy by pla- |
| aka Fighteer I | cing too many in too small a pen. |
| mailto:fighteer AT cs DOT com | Homo sapiens is the only animal that |
| http://www.cs.com/fighteer | voluntarily does this to himself." |
---------------------------------------------------------------------
- Raw text -