wxWidgets / wxWidgets

Cross-Platform C++ GUI Library
https://www.wxwidgets.org/
6.16k stars 1.77k forks source link

Watcom don't know _rmdir #20661

Closed wxtrac closed 2 years ago

wxtrac commented 21 years ago

Issue migrated from trac ticket # 1296

component: wxMSW | priority: normal

2003-10-17 04:12:24: fubbel created the issue


In version 2.5.1 and the CVS-Tree the file-operations wxOpen, wxClose etc. are in ANSI/ISO convention for all compilers and MSW defined.

The (Open-)Watcom-Compilers (10.x - OW1.2beta) can't handle '_rmdir'.

Workaround: Delete in Line 78 "|| ( defined(WATCOMC) && defined(WXMSW) )" in file 'filefn.h'.

Or: Add following lines in 'filefn.h' after line 115.

if defined(WATCOMC)

define _rmdir(x) rmdir(x)

endif

The Watcom-Libraries uses the same file-functions for _xxx and xxx.

The bug is mailed to Openwatcom.

wxtrac commented 21 years ago

2003-10-17 07:44:41: abxabx (WÅ‚odzimierz Skiba) commented


This bug was already fixed as reported at http://cvs.wxwindows.org/viewcvs.cgi/wxWindows/include/wx /filefn.h.diff?1=1.81&2=1.82 I think this bug report can be closed