Can't resolve namespace memeber

已回答

Hi all,

I'm trying to use CLion for a project where we use tinyformat.

http://github.com/c42f/tinyformat 

If I clone and open the project it looks ok, but any use of the functions defined in tinyformat.h using the namespace "tfm" won't work.

Something like

#import "tinyformat.h"

void test(){
tfm::printf("My value is '%s'\n", "a test");
}

in a test.cpp file would highlight "can't resolve namespace member printf".

I'd love if somebody could help me better debug the issue.

 

1

Hello!

I've looked through the code of tinyformat.h. We have the related issue in our tracker: https://youtrack.jetbrains.com/issue/CPP-11513. Feel free to comment or upvote, follow it to get updates.

0

请先登录再写评论。