Discussion:
[Rock-dev] orogen and clang
Alexander Duda
2014-05-22 08:02:04 UTC
Permalink
Hi,

are there any plans to use clang for parsing type headers?

The current parser-gccxml is not compatible with C++0X/C++11 which is
introducing a lot of issues when used on 10.9. The reason for this is
that 10.9 is now using its own implementation for std (libc++) by
default and therefore all packages installed by homebew are also built
against libc++ which cannot be parsed by gcc-xml

The workaround is to build everything with gcc4.x but this is triggering
a lot of compiler errors on 10.9 because most of the packages are
patched for clang.

Greets Alex
--
Dipl.-Ing. Alexander Duda
Unterwasserrobotik
Robotics Innovation Center

Hauptgesch?ftsstelle Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Stra?e 1
28359 Bremen, Germany

Tel.: +49 421 178 45-6620
Zentrale: +49 421 178 45-0
Fax: +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen)
E-Mail: Alexander.Duda at dfki.de

Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Stra?e 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973
Steuernummer: 19/673/0060/3
Sylvain Joyeux
2014-05-22 12:27:44 UTC
Permalink
There are indeed a plan ... What is missing is time.

It must be done, simply because it would be cleaner, faster and more
future-proof.

Sylvain
Post by Alexander Duda
Hi,
are there any plans to use clang for parsing type headers?
The current parser-gccxml is not compatible with C++0X/C++11 which is
introducing a lot of issues when used on 10.9. The reason for this is
that 10.9 is now using its own implementation for std (libc++) by
default and therefore all packages installed by homebew are also built
against libc++ which cannot be parsed by gcc-xml
The workaround is to build everything with gcc4.x but this is triggering
a lot of compiler errors on 10.9 because most of the packages are
patched for clang.
Greets Alex
--
Dipl.-Ing. Alexander Duda
Unterwasserrobotik
Robotics Innovation Center
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Stra?e 1
28359 Bremen, Germany
Tel.: +49 421 178 45-6620
Zentrale: +49 421 178 45-0
Fax: +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen)
E-Mail: Alexander.Duda at dfki.de
Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Stra?e 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973
Steuernummer: 19/673/0060/3
_______________________________________________
Rock-dev mailing list
Rock-dev at dfki.de
http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20140522/9020eb2c/attachment.htm
Alexander Duda
2014-05-22 13:22:43 UTC
Permalink
Post by Sylvain Joyeux
There are indeed a plan ... What is missing is time.
It must be done, simply because it would be cleaner, faster and more
future-proof.
Sylvain
Basically we "only" have to replace the ruby Typelib::GCCXMLLoader. Or
do I miss something?

Alex
Post by Sylvain Joyeux
On Thu, May 22, 2014 at 10:02 AM, Alexander Duda
Hi,
are there any plans to use clang for parsing type headers?
The current parser-gccxml is not compatible with C++0X/C++11 which is
introducing a lot of issues when used on 10.9. The reason for this is
that 10.9 is now using its own implementation for std (libc++) by
default and therefore all packages installed by homebew are also built
against libc++ which cannot be parsed by gcc-xml
The workaround is to build everything with gcc4.x but this is triggering
a lot of compiler errors on 10.9 because most of the packages are
patched for clang.
Greets Alex
--
Dipl.-Ing. Alexander Duda
Unterwasserrobotik
Robotics Innovation Center
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Stra?e 1
28359 Bremen, Germany
Tel.: +49 421 178 45-6620
Zentrale: +49 421 178 45-0
Fax: +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen)
E-Mail: Alexander.Duda at dfki.de <mailto:Alexander.Duda at dfki.de>
Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Stra?e 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973
Steuernummer: 19/673/0060/3
_______________________________________________
Rock-dev mailing list
Rock-dev at dfki.de <mailto:Rock-dev at dfki.de>
http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
--
Dipl.-Ing. Alexander Duda
Unterwasserrobotik
Robotics Innovation Center

Hauptgesch?ftsstelle Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Stra?e 1
28359 Bremen, Germany

Tel.: +49 421 178 45-6620
Zentrale: +49 421 178 45-0
Fax: +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen)
E-Mail: Alexander.Duda at dfki.de

Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Stra?e 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973
Steuernummer: 19/673/0060/3

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20140522/c59b1d5f/attachment-0001.htm
Sylvain Joyeux
2014-05-22 18:35:20 UTC
Permalink
Yes, it's just that - http://xkcd.com/1349/

Sylvain
Post by Sylvain Joyeux
There are indeed a plan ... What is missing is time.
It must be done, simply because it would be cleaner, faster and more
future-proof.
Sylvain
Basically we "only" have to replace the ruby Typelib::GCCXMLLoader. Or do
I miss something?
Alex
Post by Alexander Duda
Hi,
are there any plans to use clang for parsing type headers?
The current parser-gccxml is not compatible with C++0X/C++11 which is
introducing a lot of issues when used on 10.9. The reason for this is
that 10.9 is now using its own implementation for std (libc++) by
default and therefore all packages installed by homebew are also built
against libc++ which cannot be parsed by gcc-xml
The workaround is to build everything with gcc4.x but this is triggering
a lot of compiler errors on 10.9 because most of the packages are
patched for clang.
Greets Alex
--
Dipl.-Ing. Alexander Duda
Unterwasserrobotik
Robotics Innovation Center
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Stra?e 1
28359 Bremen, Germany
Tel.: +49 421 178 45-6620
Zentrale: +49 421 178 45-0
Fax: +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen)
E-Mail: Alexander.Duda at dfki.de
Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Stra?e 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973
Steuernummer: 19/673/0060/3
_______________________________________________
Rock-dev mailing list
Rock-dev at dfki.de
http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
--
Dipl.-Ing. Alexander Duda
Unterwasserrobotik
Robotics Innovation Center
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Stra?e 1
28359 Bremen, Germany
Tel.: +49 421 178 45-6620
Zentrale: +49 421 178 45-0
Fax: +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen)
E-Mail: Alexander.Duda at dfki.de
Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Stra?e 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973
Steuernummer: 19/673/0060/3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20140522/3a75171c/attachment.htm
Loading...