Skip to content

error: use of overloaded operator '<<' is ambiguous (with operand types 'std::ostream' (aka 'basic_ostream<char>') and 'const std::nullptr_t') #126

@ssslifengxiang

Description

@ssslifengxiang
--- a/llvm_propeller_cfg.h
+++ b/llvm_propeller_cfg.h
@@ -108,7 +108,7 @@ class CFGNode final {
 
   void set_freq(uint64_t freq) { freq_ = freq; }
   void set_bundle(CFGNodeBundle *bundle) {
-    DCHECK_EQ(bundle_, nullptr);
+    //DCHECK_EQ(bundle_, nullptr);
     bundle_ = bundle;
   }

after this modify can compile success

https://github.com/google/glog/issues/562

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