|
 |
"jhu" <nomail@nomail> wrote:
> clipka <ano### [at] anonymous org> wrote:
>
> > This is probably also code that's not actually used yet.
> >
> >
> > I hate BSD (and GNU/Linux, for that matter). They keep exposing sloppy
> > non-ANSI-compliant code that works so nicely on Windows. :-P
> >
> >
> > If the above works for you, please remind me to add the fix to UberPOV
> > or POV-Ray, wherever that code originates from.
>
> Thanks that works so far, until...
> depbase=`echo base/colour.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; g++
> -DHAVE_CONFIG_H -I. -I.. -I.. -I../source/backend -I../source/base
> -I../source/frontend -I../unix -I../vfe -I../vfe/unix
> -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT
> -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/include -pipe
> -Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -Wno-non-template-friend
> -s -O3 -ffast-math -D_THREAD_SAFE -pthread -MT base/colour.o -MD -MP -MF
> $depbase.Tpo -c -o base/colour.o base/colour.cpp && mv -f $depbase.Tpo
> $depbase.Po
> base/colour.cpp: In instantiation of 'static void
> pov_base::ColourModelInternal4::MetamericNormalize(CHANNEL_T*) [with CHANNEL_T =
> float; MODEL_FROM_T = pov_base::ColourModelRGB]':
> base/colour.cpp:148:119: required from here
> base/colour.cpp:54:86: error: dependent-name 'MODEL_FROM_T:: Whitepoint' is
> parsed as a non-type, but instantiation yields a type
> const ColourChannel* pWhitepoint =
> GetWhitepointVector<MODEL_FROM_T::Whitepoint>();
>
> ^
> base/colour.cpp:54:86: note: say 'typename MODEL_FROM_T:: Whitepoint' if a type
> is meant
> base/colour.cpp: In instantiation of 'static void
> pov_base::ColourModelInternal4::MetamericNormalize(CHANNEL_T*) [with CHANNEL_T =
> double; MODEL_FROM_T = pov_base::ColourModelRGB]':
> base/colour.cpp:149:119: required from here
> base/colour.cpp:54:86: error: dependent-name 'MODEL_FROM_T:: Whitepoint' is
> parsed as a non-type, but instantiation yields a type
> base/colour.cpp:54:86: note: say 'typename MODEL_FROM_T:: Whitepoint' if a type
> is meant
> *** Error code 1
Ok, solved this by doing what the compiler note says (add typename).
Now I get:
backend/povray.cpp:30:115 error: expected ')' before 'SSE2_INCLUDED'
BRANCH_FULL_NAME STANDALONE_VER " Version %s", BRANCH_FULL_VERSION
COMPILER_VER SSE2_INCLUDED);
Post a reply to this message
|
 |