The vanilla hasn't this problem because HAVE_CONFIG_H isn't defined
for MSVC++ (MS Windows is not officially supported) and therefore
HAVE_LONG_LONG isn't defined.  Furthermore the specialization for
size_t is needed there because the one for unsigned long long isn't
visible on Windows (because of the missing HAVE_LONG_LONG).

On the other hand in BRL-CAD MS Windows is fully supported with MSVC++
and all defines are set appropriately.  This seems to not going
together with the hack around the missing config.h in TCLAP.

The solution is probably to remove the #if defined(_MSC_VER) ...
section in BRL-CAD because the HAVE_~ defines are doing the job.


Regards,
    Daniel

2013/10/10 Tom Browder <[email protected]>:
> On Thu, Oct 10, 2013 at 5:55 AM, Daniel Roßberg
> <[email protected]> wrote:
>> Building e.g. the dsp_add_t project I get an error in StandardTraits.h
>> line 145: error C2766: Explicit specialization;
>> "TCLAP::ArgTraits<size_t>" already defined.  Skipping lines 128 to 134
>> will fix this error.  But that's strange because these lines are
>> included especially for MSVC++.
>
> Daniel, if it's not our code, you could file a bug here:
>
>   http://sourceforge.net/projects/tclap/
>
> Best,
>
> -Tom
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
> _______________________________________________
> BRL-CAD Developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to