Nevermind. It is Mac OS X 10.9 I just looked into it and found that since
Mac OS X filesystem does not distinguish for case sensitive name
/usr/bin/cc and /usr/bin/CC were wrong. It was mixed. So I installed latest
4.9 gcc and altered PATH variable to /usr/local/bin where gcc was installed
and it compiles fine.
However, gcc 4.9 on Mac OS X gives a lot more warnings compared to gcc 4.7
on GNU/Linux. If you want I can send the compilation log.
On Thu, Nov 28, 2013 at 5:23 PM, Artyom Beilis <art...@ya...> wrote:
> More details:
>
> - Mac OS X Version?
> - Exact compiler?
> - Exact compiler version?
>
> Artyom Beilis
> --------------
> CppCMS - C++ Web Framework: http://cppcms.com/
> CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/
>
> --------------------------------------------
> On Thu, 11/28/13, Shiv Shankar Dayal <shi...@gm...> wrote:
>
> Subject: [Cppcms-users] Compilation error
> To: cpp...@li...
> Date: Thursday, November 28, 2013, 9:05 AM
>
> Hi,
>
> I am using cppcms1.0.4 on Mac OS X and it is giving
> compilation errors like following:
>
> /Volumes/Data/cppcms-1.0.4/src/util.cpp:44:21: error:
> invalid operands to binary expression
> ('std::ostream'
>
> (aka 'basic_ostream<char>') and
> 'const char [5]')
> case
> '>': output << ">";
> break;
>
> ~~~~~~ ^ ~~~~~~
>
>
> Is there anything I am missing
>
> --
> Respect,
> Shiv Shankar Dayal
>
>
> -----Inline Attachment Follows-----
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your
> business. Most IT
> organizations don't have a clear picture of how application
> performance
> affects their revenue. With AppDynamics, you get 100%
> visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE
> TRIAL of AppDynamics Pro!
>
> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
> -----Inline Attachment Follows-----
>
> _______________________________________________
> Cppcms-users mailing list
> Cpp...@li...
> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
> _______________________________________________
> Cppcms-users mailing list
> Cpp...@li...
> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>
--
Respect,
Shiv Shankar Dayal
|