But does g++ in command prompt look up environment variable INCLUDE?
'set INC' complains that 'environment variable INC has not been
defined', the same with INCLUDE.
in Vim, 'echo $INCLUDE' returns nothing.

On Mar 29, 9:30 am, Joyce <[email protected]> wrote:
> Thanks a lot.
>
> On Mar 29, 3:07 am, "John Beckett" <[email protected]> wrote:
>
> > Joyce wrote:
> > >     I'm using mingw under winxp. I could get g++ work in dos
> > > prompt, but when I tried to g++ within Vim using g++ -Wall
> > > -ansi -pedantic filename.cpp -o filename.o, the compiler
> > > complains:
>
> > > d:\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\include\c++
> > > \3.4.5\cwchar|161| error: `::swprintf' has not been declared
>
> > I would examine the INCLUDE environment variable that you see at command 
> > prompt (if cmd.exe shell, command 'set INC' would be useful), then compare 
> > with what you see in Vim with command ':echo $INCLUDE'.
>
> > John
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to