25 February 2016, 10:13 | #1 |
Registered User
Join Date: Oct 2015
Location: France
Posts: 82
|
VBCC and #include
Hi,
I start using the VBCC cross compiler on PC and I really wonder why : Code:
#include "myfile.h" The compiler doesn't find myfile.h I have to include the path with the -I parameter in the compiler config. I would want to avoid that... Thanks |
25 February 2016, 15:19 | #2 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
The pre-processor isn't fully Windows compatible. If you want a quick fix, open vbcc/ucpp/cpp.c and change lines 243, 599, and 607, into
#if defined(MSDOS) || defined(ATARI) || defined(_WIN32)and build the tools again. |
26 February 2016, 10:55 | #3 |
Registered User
Join Date: Oct 2015
Location: France
Posts: 82
|
Oh thanks for the information! Great!
|
03 March 2016, 15:07 | #4 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,539
|
Thanks. I committed this change now.
Please tell me about such issues (by email). I never do development or tests on Windows myself. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
vbcc multiple include paths | krustur | Coders. C/C++ | 2 | 20 October 2014 23:46 |
DevPac Include disks | h0ffman | request.Apps | 4 | 23 September 2010 19:54 |
DevPac 3.02 with include disks | derSammler | request.Apps | 6 | 13 February 2009 17:14 |
Devpac with include disk | BlueAchenar | request.Apps | 6 | 09 December 2008 00:58 |
Devpac with Include disk? | JMike | request.Apps | 12 | 04 December 2007 21:48 |
|
|