English Amiga Board


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

 
 
Thread Tools
Old 31 December 2018, 01:40   #1
frakswe
Registered User
 
frakswe's Avatar
 
Join Date: Jul 2018
Location: Laughingstock
Age: 45
Posts: 31
sas/c and netincludes (amitcp)

hey, just wondering how the includes are supposed to be set up for sas/c, i gather i'm supposed to assign to netincludes but wouldn't that cause a clash for includes that are named the same? errno.h for example. the only way i can see this work is if i edit the netincludes to point directly to it's own includes (ie instead of <sys/errno.h> it would be <netincludes:sys/errno>.

doesn't seem right needing to edit the includes this way that's why i'm wondering.

can't remember this beeing an issue in the past with gcc but it's been ages since i've messed around with c and compilers.

thanks.


edit: did a compare and see that an overwrite of the files won't do any harm, they still carry the same information just with more added to them. thanks anyway.

Last edited by frakswe; 31 December 2018 at 02:25.
frakswe is offline  
Old 31 December 2018, 12:01   #2
patrik
Registered User
 
patrik's Avatar
 
Join Date: Jan 2005
Location: UmeƄ
Age: 44
Posts: 939
I think you are supposed to add it as an extra include directory after the normal includes in the project setup.
patrik is offline  
Old 31 December 2018, 13:55   #3
bebbo
bye
 
Join Date: Jun 2016
Location: Some / Where
Posts: 681
snip
Code:
assign sc: d:sc
assign include: sc:netinclude
assign include: sc:include add
assign lib: sc:lib
path sc:c add
maybe my order is inverted, but it worked for me
bebbo 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
AmiTCP 4.3 eva request.Apps 0 29 January 2015 01:53
x-surf100 and AMITCP rogersyd support.Other 10 24 March 2014 22:14
amitcp/ip lambrettadave support.Hardware 1 21 October 2010 16:42
Amitcp Pentangle request.Apps 2 07 May 2008 09:03
AmiTCP DDNI support.Apps 4 07 April 2006 12:11

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 22:51.

Top

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