Spam detection software, running on the system "mx.qt-project.org",
has identified this incoming email as possible spam.  The original
message has been attached to this so you can view it or label
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  In order to avoid calling qRegisterMetaType() in main() (with
   the possibility of forgetting to do so,) I instead call it before the program
   enters main(), in the implementation file of whoever is the owner of the
  type. There's several ways to do this, I just use a lambda: [...] 

Content analysis details:   (4.1 points, 4.0 required)

 pts rule name              description
---- ---------------------- --------------------------------------------------
 0.8 BAYES_50               BODY: Bayes spam probability is 40 to 60%
                            [score: 0.5000]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail 
provider
                            (realnc[at]gmail.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 1.0 RDNS_DYNAMIC           Delivered to internal network by host with
                            dynamic-looking rDNS
 2.3 FORGED_MUA_MOZILLA     Forged mail pretending to be from Mozilla


--- Begin Message --- In order to avoid calling qRegisterMetaType() in main() (with the possibility of forgetting to do so,) I instead call it before the program enters main(), in the implementation file of whoever is the owner of the type. There's several ways to do this, I just use a lambda:

namespace {
char unused = [] {
    qRegisterMetaType<MyClass::MyEnum>();
    return 0;
}();
}

It "seems to work fine," but is this safe though?


--- End Message ---
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to