[ 
https://issues.apache.org/jira/browse/LUCY-211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489171#comment-13489171
 ] 

Marvin Humphrey commented on LUCY-211:
--------------------------------------

If we start using the Charmonizer with CFC, it will generate the stdint.h
types we need and we won't need to #include stdint.h any more.

I like the command-line-switch workaround from that link!  A wretched hack for
a wretched bug. :)

{noformat}
  cl -Dfor="if(0);else for" ...
{noformat}

We just need to detect that the compiler is MSVC and add the switch.

For now, we can do that in the various build scripts.  However, it's about
time that we started building up our list of compiler flags using
Charmonizer as well -- so that we don't have to duplicate the same convoluted
logic for each binding.
                
> MSVC 6 support
> --------------
>
>                 Key: LUCY-211
>                 URL: https://issues.apache.org/jira/browse/LUCY-211
>             Project: Lucy
>          Issue Type: Bug
>            Reporter: Marvin Humphrey
>            Priority: Minor
>         Attachments: LUCY-211-iter1.patch, LUCY-211-iter2.patch
>
>
> MSVC 6 is an old compiler, released in 1998, but some people still use
> it, particularly those motivated by the C runtime linking issue.  It will
> be hard to maintain support without a smoker, but the Lucy mainline 
> should be reasonably close to compatibility right now, so it's worth a 
> try to see if we can build and pass tests.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to