Skip to content

Conversation

@WuErPing
Copy link

@WuErPing WuErPing commented Aug 5, 2013

in clang version 3.3 :

[100%] Building CXX object 3rd/CMakeFiles/test.dir/t.cc.obj
In file included from /home/andy/w/test/mesos/3rd/t.cc:7:
In file included from /home/andy/w/libprocess/include/process/async.hpp:4:
In file included from /home/andy/w/libprocess/include/process/dispatch.hpp:9:
In file included from /home/andy/w/libprocess/include/process/process.hpp:13:
/home/andy/w/libprocess/include/process/event.hpp:15:1: error: struct 'ProcessBase' was previously declared as a class [-Werror,-Wmismatched-tags]
struct ProcessBase;
^
/home/andy/w/libprocess/include/process/pid.hpp:14:7: note: previous use is here
class ProcessBase;
^
In file included from /home/andy/w/test/mesos/3rd/t.cc:7:
In file included from /home/andy/w/libprocess/include/process/async.hpp:4:
In file included from /home/andy/w/libprocess/include/process/dispatch.hpp:9:
/home/andy/w/libprocess/include/process/process.hpp:25:1: error: 'ProcessBase' defined as a class here but previously declared as a struct [-Werror,-Wmismatched-tags]
class ProcessBase : public EventVisitor
^
/home/andy/w/libprocess/include/process/event.hpp:15:1: note: did you mean class here?
struct ProcessBase;
^~~~~~
class

@nizamutdinovb nizamutdinovb changed the base branch from master to main April 13, 2022 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant