Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Question about double quotes

We probably should never use angle brackets to include other files in the workspace, or at least in the same project. Although if we checked the include path for the file and found the directory was in there, we may want to use angle brackets. But that would be pretty fancy.

Doug.

On Thu, 2019-03-28 at 18:48 +0100, marco wrote:
Hi guys,

just a question about how CDT use double quotes for include files. I 
have this project managed by CDT:

root
   |-text
   |-scripts
   |-src
     |-funcA
     |-funcB
     |-funcC

I added include paths for funcA, funcB and funcC. Everything works but 
when I create a new class in funcC for example it uses angle brackets. 
Looking at the code it seems it uses system style (angle brackets) 
because I added the path in the settings. So maybe I'm missing something 
here. If I don't add the include path it can't compile because class in 
funcC can't see an header in funcA. How should I create the project to 
have the proper behavior?

Thanks.
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.eclipse.org_mailman_listinfo_cdt-2Ddev&d=DwICAg&c=yzoHOc_ZK-sxl-kfGNSEvlJYanssXN3q-lhj0sp26wE&r=NrrbvTHWa2Nbp_kAN0Hl1o3lM1WAwSes64uBjxjNhMc&m=TDnwXvcVluRXegk3AgvLTZB6GI87VUFI1dWvM0xkaXk&s=IOeK2rvp1OKM_EZZhhY47NXFHpV-WG2Y-QWptcnjoZQ&e=


Back to the top