Part Number: CC2640R2F
Tool/software: TI C/C++ Compiler
Hi,
I found out if I use the __inline directive for a method in my C++ class it results in a linker error.
How should I use the __inline directive correctly?
Code:
__inline StdError DeviceDiscovery::addDevice ( BLE::Device &device )
{
...
}
LInker output:
<Linking> undefined first referenced symbol in file --------- ---------------- Application::DeviceDiscovery::addDevice(BLE::Device &) <whole-program> error #10234-D: unresolved symbols remain error #10010: errors encountered during linking