Arne Schmitz | 27 Apr 2012 09:15
Picon
Gravatar

How to enable semantic-clang?

I noticed that there is a bovine/semantic-clang.el in CEDET 1.0. How can I enable and use this for code
completion? Is the semantic-clang-binary customizable? My clang does not reside in /usr/bin.

Best regards,

Arne

--

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Arne Schmitz | 27 Apr 2012 09:35
Picon
Gravatar

Re: How to enable semantic-clang?

Ok, I just set the variable in my init.el and did semantic-clang-activate. Now the module works, but not
quite well. Several symbols can't be completed. I guess I have to setup some more paths and/or variables?
What do I need to set so that my whole project is being scanned for possible completions?

Best regards,

Arne

--

-- 
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                                  
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Diez B. Roggisch | 27 Apr 2012 09:50
Picon
Gravatar

Re: How to enable semantic-clang?

I had a look, and the module looks very early in development. Afaik no project settings for paths are passed
down. 

Diez 

Am 27.04.2012 um 14:35 schrieb "Arne Schmitz" <arne.schmitz <at> gmx.net>:

> Ok, I just set the variable in my init.el and did semantic-clang-activate. Now the module works, but not
quite well. Several symbols can't be completed. I guess I have to setup some more paths and/or variables?
What do I need to set so that my whole project is being scanned for possible completions?
> 
> Best regards,
> 
> Arne
> 
> -- 
> NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                                  
> Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> cedet-semantic mailing list
> cedet-semantic <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cedet-semantic
> 
(Continue reading)

David Engster | 27 Apr 2012 11:10
Picon

Re: How to enable semantic-clang?

Diez B. Roggisch writes:
> Afaik no project settings for paths are passed down.

Include directories and preprocessor symbols from projects are passed to
clang.

-David

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Diez B. Roggisch | 27 Apr 2012 11:20
Picon
Gravatar

Re: How to enable semantic-clang?


Am 27.04.2012 um 11:10 schrieb David Engster:

> Diez B. Roggisch writes:
>> Afaik no project settings for paths are passed down.
> 
> Include directories and preprocessor symbols from projects are passed to
> clang.
> 

Hm. Didn't look that way a few weeks ago when I adapted it to locate the CLANG under OSX. Will try agan.

Diez

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

Gmane