I have the following code.
const TCHAR * pTemp = X->Fn(index);
X is an object of a class and Fn is a method in it which returns a const TCHAR *.
Building this in Windows is fine, but not in linux.
It throws an error as follows.
error: uninitialized const in 'new' of 'const TCHAR'
Please help me resolve the issue.
const TCHAR * pTemp = X->Fn(index);
X is an object of a class and Fn is a method in it which returns a const TCHAR *.
Building this in Windows is fine, but not in linux.
It throws an error as follows.
error: uninitialized const in 'new' of 'const TCHAR'
Please help me resolve the issue.
Comment