sst-elements icon indicating copy to clipboard operation
sst-elements copied to clipboard

c_AddressHasher.hpp missing include

Open calewis opened this issue 3 years ago • 5 comments

New Issue for sst-elements

1 - CramSim.cpp fails to build due to undefined uint type

 error: 'uint' was not declared in this scope; did you mean 'int'?
            void parsePattern(std::string *x_inStr, std::pair<std::string, uint> *x_outPair);

3 - alpine linux docker image

The header sys/types.h is available but not included. This was fixed by just including that header.

calewis avatar Aug 02 '21 00:08 calewis

Although uint isn't considered portable and should really be changed to unsigned int. Or the typedef should be provided by the library itself.

calewis avatar Aug 02 '21 00:08 calewis

c_TxnGen.cpp has the same issue

calewis avatar Aug 02 '21 00:08 calewis

As does GNA.h

calewis avatar Aug 02 '21 00:08 calewis

ariel_shmem.h is missing sys/time.h

calewis avatar Aug 02 '21 01:08 calewis

I remember fixing some of those CramSim types a year or so ago but I guess I never pushed them.

hughes-c avatar Aug 02 '21 13:08 hughes-c