5 years ago.

How can we remove a Warning ? ( L9931W: Your license for feature compiler5 will expire in 27 days)

Hi,

Since this afternoon i have a compile problem. There is a Warning which causes me trouble.

Error: Warning: L9931W: Your license for feature compiler5 will expire in 27 days

How can I remove it and compile my project ?

Thanks

I've got the same problem. 5 months ago, this seems to have occurred and to have been a mbed server side problem and solved.: https://os.mbed.com/questions/86146/Warning-L9931W-Your-license-for-feature-/ However I wonder why it occurred again even though it has been only 5 months. Is there a case that we have problem in code?

posted by Akifumi Takahashi 14 Nov 2019

1 Answer

5 years ago.

Hello,

I had got the same error (warning) and commented, but in my case, eventually, it was a problem in my code.

What I mean is that it could be occurred probably from your slight mistake in code that the compiler couldn't notice. So it perhaps helps to review your code once again, especially concentrating on a kind of complex part.

In my case, I declared a static template function in my class in a .h file and implemented in the .cpp file, which seems to result in this error.

hoge.h

/*...*/
class hoge {
    /*...*/
    template <typename T>
    static void doSomthing(T arg);
    /*...*/
};
/*...*/

hoge.cpp

/*...*/
template <typename T>
void hoge::doSomthing(T arg){/*do something*/}
/*...*/

When I implemented it in the .h file removing the implementation from .cpp, I was able to compile it.

hoge.h

/*...*/
class hoge {
    /*...*/
    template <typename T>
    static void doSomthing(T arg){/*do something*/}
    /*...*/
};
/*...*/

It it also resolved by not a using template statement.

I hope this could help you somehow,

Best,

Accepted Answer

This error occurred also when I make a mistake such as implementing a function whose argument type is different from the declaration and using the function. This means that the error could occur when the mistake of overload is made or a function declared but not implemented is used.

posted by Akifumi Takahashi 14 Nov 2019