7 years ago.

my SQL client error

Hi all,

I am using the example NetServiceSource https://os.mbed.com/compiler/#nav:/NetServicesSource/if/net/nettcpsocket.cpp;

I deleted other services except mysql folder. and there are two errors. Error: Name followed by "::" must be a class or namespace name in "if/net/nettcpsocket.cpp", Line: 31, Col: 4 Error: Name followed by "::" must be a class or namespace name in "if/net/nettcpsocket.cpp", Line: 36, Col: 4

I found the code in the nettcpsocket.cpp and class net in net.h (under core folder)

Net::registerNetTcpSocket(this);

Net::unregisterNetTcpSocket(this);

could anyone tell me how to solve these errors? Many thanks.

Ksp

Be the first to answer this question.