I have the problem that Eclipse CDT somehow does not understand the definition of methods, declared in header file, like: example of header y_sort_network.hpp:
#pragma once
extern "C" {
#include <stdint.h>
}
namespace y_my{
static inline void ySortSingleUpto16(uint32_t * arr, uint32_t * to);
static inline void yMergex16(uint32_t * arr, uint32_t *to);
}
example of source y_sort_network.cpp:
#include "y_sort_network.hpp"
namespace y_my{
static inline void yMergex16(uint32_t * arr, uint32_t *to) {
// body ...
}
static inline void ySortSingleUpto16(uint32_t * arr, uint32_t * to) {
// body ...
}
}
then , this mwthod will not be found im main method, means they are declared but not linked :
`sort_network_test.cpp:19:` undefined reference to `y_my::yMergex16(unsigned int*, unsigned int*)'
all files lies in the same folder, what is a source folder in properties