English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. C/C++

 
 
Thread Tools
Old 28 July 2017, 13:25   #1
dalton
tulou
 
dalton's Avatar
 
Join Date: Jun 2006
Location: Gothenburg / Sweden
Posts: 88
vbcc 0.9f (windows) local includes issue?

Hi,

after upgrading to vbcc 0.9f, it seems that resolution of local include files is broken. For instance, if I have the two files foo/bar.c and foo/bar.h (ie both in the subfolder foo), then the statement #include "bar.h" inside bar.c results in an error. If I use #include "foo/bar.h" however, it works. In other words the local include paths must be relative to the compilation working directory, or it won't work.

If I replace the vbcc exe with the previous version, then there's no error.

Also, a friend who uses the OSX version of vbcc doesn't seem to have the issue with 0.9f.

Cheers
dalton is offline  
Old 28 July 2017, 19:37   #2
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
That's my fault actually, I forgot to tell it to handle Windows paths when building. I've updated the vbcc archive in that other thread.
Leffmann is offline  
Old 28 July 2017, 19:52   #3
guy lateur
Registered User
 
guy lateur's Avatar
 
Join Date: May 2017
Location: Belgium
Age: 50
Posts: 334
Quote:
Originally Posted by Leffmann View Post
that other thread
http://eab.abime.net/showthread.php?...92#post1170592
guy lateur is offline  
Old 29 July 2017, 12:10   #4
dalton
tulou
 
dalton's Avatar
 
Join Date: Jun 2006
Location: Gothenburg / Sweden
Posts: 88
Thanks for the new build, but I think the issue remains.
dalton is offline  
Old 29 July 2017, 21:33   #5
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
Sorry, no idea what's wrong then. I can reproduce the issue with the old binaries, and fix it by just replacing with the new ones.
Leffmann is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows installer for VBCC tool chain Leffmann Coders. Releases 55 18 June 2021 19:45
local Lan to emulate amiga local connection ? turrican3 support.WinUAE 4 28 June 2016 21:47
Includes kristofferj Coders. General 3 03 May 2010 15:38
anyone local jailer support.Hardware 5 18 February 2009 19:33
VBCC 0.8j for Windows hitchhikr Coders. General 11 09 October 2008 00:58

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:55.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07970 seconds with 15 queries