You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by "Thorsten Schöning (JIRA)" <lo...@logging.apache.org> on 2014/02/10 16:02:19 UTC

[jira] [Resolved] (LOGCXX-392) Error on File.h

     [ https://issues.apache.org/jira/browse/LOGCXX-392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thorsten Schöning resolved LOGCXX-392.
--------------------------------------

    Resolution: Not A Problem

This is a usage error better discussed on the user mailing list. Looks like some problem with encodings or locale or stuff.

> Error on File.h
> ---------------
>
>                 Key: LOGCXX-392
>                 URL: https://issues.apache.org/jira/browse/LOGCXX-392
>             Project: Log4cxx
>          Issue Type: Bug
>            Reporter: Rafael Fogel
>            Assignee: Curt Arnold
>            Priority: Minor
>
> I am trying to use log4cxx on my project and I m having a little problem with it. I installed it normally e etc but when I tried to compile my project, it gives an error on file.h: 
> Creating object file for src/marketprocessor/MarketProcessor...
> In file included from /usr/include/log4cxx/propertyconfigurator.h:33,
>                  from src/marketprocessor/MarketProcessor.cpp:29:
> /usr/include/log4cxx/file.h:33: error: expected identifier before numeric constant
> /usr/include/log4cxx/file.h:33: error: expected unqualified-id before numeric constant
> /usr/include/log4cxx/file.h:105: error: expected identifier before numeric constant
> /usr/include/log4cxx/file.h:105: error: expected â,â or â...â before numeric constant
> /usr/include/log4cxx/file.h:111: error: expected identifier before numeric constant
> /usr/include/log4cxx/file.h:111: error: expected â,â or â...â before numeric constant
> /usr/include/log4cxx/file.h:117: error: expected identifier before numeric constant
> /usr/include/log4cxx/file.h:117: error: expected â,â or â...â before numeric constant
> /usr/include/log4cxx/file.h:142: error: expected identifier before numeric constant
> /usr/include/log4cxx/file.h:142: error: expected â,â or â...â before numeric constant
> /usr/include/log4cxx/file.h:149: error: expected identifier before numeric constant
> /usr/include/log4cxx/file.h:149: error: expected â,â or â...â before numeric constant
> /usr/include/log4cxx/file.h:156: error: expected identifier before numeric constant
> /usr/include/log4cxx/file.h:156: error: expected â,â or â...â before numeric constant
> /usr/include/log4cxx/file.h:163: error: expected identifier before numeric constant
> /usr/include/log4cxx/file.h:163: error: expected â,â or â...â before numeric constant
> /usr/include/log4cxx/file.h:170: error: expected identifier before numeric constant
> /usr/include/log4cxx/file.h:170: error: expected â,â or â...â before numeric constant
> /usr/include/log4cxx/file.h:176: error: expected identifier before numeric constant
> /usr/include/log4cxx/file.h:176: error: expected â,â or â...â before numeric constant
> /usr/include/log4cxx/file.h:181: error: expected â;â before â(â token
> I am new on log4cxx e linux programming, i dont know if this error is caused by me or its a real bug. The program works fine but when i include the propertyconfigurator.h on my class, it calls file.h and crash, giving this erro above.
> Thanks in advance.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)