You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucy.apache.org by "Marvin Humphrey (JIRA)" <ji...@apache.org> on 2011/05/16 03:07:47 UTC
[lucy-issues] [jira] [Created] (LUCY-147) CC flags for Clownfish build
CC flags for Clownfish build
----------------------------
Key: LUCY-147
URL: https://issues.apache.org/jira/browse/LUCY-147
Project: Lucy
Issue Type: Sub-task
Reporter: Marvin Humphrey
Priority: Minor
The C code for the Clownfish compiler should use the same C dialect as the
Lucy core: the overlap of C99 and C++. That's currently not possible because
we don't pass the right flags to the GCC or MSVC.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[lucy-issues] [jira] [Commented] (LUCY-147) CC flags for Clownfish build
Posted by "Marvin Humphrey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCY-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13033856#comment-13033856 ]
Marvin Humphrey commented on LUCY-147:
--------------------------------------
To solve this problem, we need to duplicate much of the ccflags-generating
logic from our Module::Build subclass in trunk/perl/buildlib/Lucy/Build.pm.
We should probably jam this logic into trunk/clownfish/Build.PL rather than
create a "Clownfish::Build" M::B subclass, since we're trying to move away
from Perl for the Clownfish compiler.
Note that this issue blocks some of the other C89 idiom cleanups for code
underneath trunk/clownfish.
> CC flags for Clownfish build
> ----------------------------
>
> Key: LUCY-147
> URL: https://issues.apache.org/jira/browse/LUCY-147
> Project: Lucy
> Issue Type: Sub-task
> Reporter: Marvin Humphrey
> Priority: Minor
>
> The C code for the Clownfish compiler should use the same C dialect as the
> Lucy core: the overlap of C99 and C++. That's currently not possible because
> we don't pass the right flags to the GCC or MSVC.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[lucy-issues] [jira] [Resolved] (LUCY-147) CC flags for Clownfish build
Posted by "Marvin Humphrey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCY-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marvin Humphrey resolved LUCY-147.
----------------------------------
Resolution: Fixed
Fix Version/s: 0.1-incubating
Assignee: Marvin Humphrey
Commit r1104658 resolves this issue. It turns out that we had to add a
Clownfish::Build subclass after all to solve a blocker bug involving ppport.h,
so I've simply duplicated the ccflags logic from Lucy::Build there rather than
jammed it into Build.PL.
> CC flags for Clownfish build
> ----------------------------
>
> Key: LUCY-147
> URL: https://issues.apache.org/jira/browse/LUCY-147
> Project: Lucy
> Issue Type: Sub-task
> Reporter: Marvin Humphrey
> Assignee: Marvin Humphrey
> Priority: Minor
> Fix For: 0.1-incubating
>
>
> The C code for the Clownfish compiler should use the same C dialect as the
> Lucy core: the overlap of C99 and C++. That's currently not possible because
> we don't pass the right flags to the GCC or MSVC.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira