Member named '....' in the global namespace

Dear All,
I am trying to run a c++ code using root environment.
the code have multi header files.
when I run the make file I got this error

/Applications/…/include/c++/v1/cstdio:140:9: error:
no member named ‘use_ftello_instead’ in the global namespace

“use_ftello_instead” is in header file called “stdio64.h”
I have this problem only by using mac system -Xcode, but not ubuntu

How can I solve this issue?


Did you install the command line tool (xcode-select --install)?

yes it is installed.

What is the command line that lead the error (i.e. the compiler invocation)?

#define fseek use_fseeko_instead

#define ftell use_ftello_instead

humm … this seems like code your wrote and/or is part of the header file.

I am looking for the command line that is used to invoke the compiler instance that prints out the error message.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.