Print

Print


Hi Alessandra,

The compiler is complaining about the use of two data types because it is
interpreting the variable "exception" as the class std::exception.  This is
being caused by the fact that I'm using the using-directive to introduce
the namespace std into the code.

This is a bug that, for some reason, does not show up when I build the code
on my end.  I'll go ahead and apply the fixes and commit the changes.

Thanks,

--Omar Moreno




On Fri, Jul 18, 2014 at 2:45 AM, Alessandra Filippi <[log in to unmask]>
wrote:

> Hi all,
> upon compiling the hps-dst package I got this error:
>
>  make
>>
> [...]
> Scanning dependencies of target dump_hps_event
> [ 66%] Building CXX object src/utils/CMakeFiles/dump_hps_
> event.dir/dump_hps_event.cxx.o
> /home/filippi/hps/hps-dst/src/utils/dump_hps_event.cxx: In function ‘int
> main(int, char**)’:
> /home/filippi/hps/hps-dst/src/utils/dump_hps_event.cxx:61: error: two or
> more data types in declaration of ‘type name’
> make[2]: *** [src/utils/CMakeFiles/dump_hps_event.dir/dump_hps_event.cxx.o]
> Error 1
> make[1]: *** [src/utils/CMakeFiles/dump_hps_event.dir/all] Error 2
> make: *** [all] Error 2
>
> which I fixed removing the word "exception" in line 61. Going on, make
> stops again in dst/GblDataWriter.cxx, lines 68, 82, 96 with the same error
> message. Again, I fixed it in the same way.
> After these fixes the compilation goes on smoothly and the dst_maker
> bin and libs are correctly (?) built.
> No idea whether my fixes are orthodox or not... can anybody comment on
> this?
> I am compiling on linux SL5 64 bits.
> Thanks, cheers
>     Alessandra
>
> ########################################################################
> Use REPLY-ALL to reply to list
>
> To unsubscribe from the HPS-SOFTWARE list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1