FLTK logo

[fltk/fltk] Fix for chdir compiler warning (#257)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

[fltk/fltk] Fix for chdir compiler warning (#257) zcream Jul 15, 2021  
 

I changed fl_utf8.h to

#ifdef WIN32

#  if !0 && !defined(__CYGWIN__)

//#    undef chdir
//#    define chdir _chdir

This prevents compiler warnings in Visual Studio.

: warning C4996: '_chdir': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _chdir

The rest of the code builds fine.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.