| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AN3350 bảng dữ liệu(PDF) 139 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3350 bảng dữ liệu(HTML) 139 Page - STMicroelectronics |
|
139 / 185 page ![]() AN3350 Pragmas for diagnostic messages Doc ID 018512 Rev 2 139/185 19 Pragmas for diagnostic messages 19.1 extended_errorcheck Controls the issuing of warning messages for possible unintended logical errors. Syntax #pragma extended_errorcheck on | off | reset Remarks If you enable this pragma, the compiler generates a warning message (not an error) if it encounters some common programming errors: ● An integer or floating-point value assigned to an enum type. Example 84 shows an example. Example 84 Assigning to an enumerated type enum Day { Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday } d; d = 5; /* WARNING */ d = Monday; /* OK */ d = (Day)3; /* OK */ ● An empty return statement in a function that is not declared void. For example, Example 85 results in a warning message. Example 85 A non-void function with an empty return statement int MyInit(void) { int err = GetMyResources(); if (err != -1) { err = GetMoreResources(); } return; /* WARNING: empty return statement */ } Example 86 shows how to prevent this warning message. Example 86 A non-void function with a proper return statement int MyInit(void) { int err = GetMyResources(); if (err != -1) { err = GetMoreResources(); } return err; /* OK */ } |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |