public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Difficulties with binding to functions for semantic actions in a grammar
@ 2013-10-17 14:00 Markus Elfring
  2013-10-17 16:26 ` Ian Lance Taylor
  0 siblings, 1 reply; 3+ messages in thread
From: Markus Elfring @ 2013-10-17 14:00 UTC (permalink / raw)
  Cc: gcc-help, Clang

Hello,

I stumble on another challenge during the software development of a small
application which I derive from the Spirit tutorial on my openSUSE system.

http://sourceforge.net/mailarchive/message.php?msg_id=31489573


I observe that a source file is accepted by my compilers in one build
configuration. But error messages are displayed if I switch to the build
configuration where the relevant source code is directly included by header
files. Would you like to share any ideas on approaches to resolve this issue?

https://github.com/elfring/boot_parameters/blob/d65ffb55c0643aac8cb02126066252e898b12bf9/boost/CMakeLists.txt

Regards,
Markus

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Difficulties with binding to functions for semantic actions in a grammar
  2013-10-17 14:00 Difficulties with binding to functions for semantic actions in a grammar Markus Elfring
@ 2013-10-17 16:26 ` Ian Lance Taylor
  2013-10-17 18:50   ` Markus Elfring
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Lance Taylor @ 2013-10-17 16:26 UTC (permalink / raw)
  To: Markus Elfring; +Cc: gcc-help, Clang

On Thu, Oct 17, 2013 at 7:00 AM, Markus Elfring <Markus.Elfring@web.de> wrote:
>
> I stumble on another challenge during the software development of a small
> application which I derive from the Spirit tutorial on my openSUSE system.
>
> http://sourceforge.net/mailarchive/message.php?msg_id=31489573
>
>
> I observe that a source file is accepted by my compilers in one build
> configuration. But error messages are displayed if I switch to the build
> configuration where the relevant source code is directly included by header
> files. Would you like to share any ideas on approaches to resolve this issue?
>
> https://github.com/elfring/boot_parameters/blob/d65ffb55c0643aac8cb02126066252e898b12bf9/boost/CMakeLists.txt


I really have no idea what you are asking and your code looks quite
complex.  Can you show a small self-contained example?

Ian

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Difficulties with binding to functions for semantic actions in a grammar
  2013-10-17 16:26 ` Ian Lance Taylor
@ 2013-10-17 18:50   ` Markus Elfring
  0 siblings, 0 replies; 3+ messages in thread
From: Markus Elfring @ 2013-10-17 18:50 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: gcc-help, Clang

> I really have no idea what you are asking and your code looks quite complex.

My issue deals with the separation of implementation details for classes into
specific source files.
https://github.com/elfring/boot_parameters/blob/d65ffb55c0643aac8cb02126066252e898b12bf9/boost/parser_def.h#L22


> Can you show a small self-contained example?

I have not constructed a different one so far which can reproduce my
difficulties with the mentioned Boost Spirit/Phoenix template function "bind".

Regards,
Markus

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-17 18:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-17 14:00 Difficulties with binding to functions for semantic actions in a grammar Markus Elfring
2013-10-17 16:26 ` Ian Lance Taylor
2013-10-17 18:50   ` Markus Elfring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).