Skip to content

SingletonPtr<Mutex> mutex; in greentea_metrics.cpp conflicts #3292

Closed
@Mizuho32

Description

@Mizuho32

Description

  • Type: Bug(?)
  • Priority: Minor

Bug

Target
Probably all

Toolchain:
GCC_ARM

Toolchain version:
4.9.3 20150529 (prerelease) (15:4.9.3+svn231177-1)

mbed-cli version:
0.9.10

meed-os sha:
a1c0840 Merge pull request #3227 from ARMmbed/release-candidate

This should work.

Mutex mutex;
int main(void){
  return 0;
}

but in actual, it conflicts with below.
greentea_metrics.cpp

/* 37 */ SingletonPtr<Mutex> mutex;

static specifier should be added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions