[fdo][FDO120][New] Missing include guard in FdoRdbmsMySqlFilterProcessor.h

Mateusz Loskot mateusz at loskot.net
Sun Aug 13 21:40:24 EDT 2006


You can view the artifact detail at the following URL:

    https://fdo.osgeo.org/servlets/Scarab/id/FDO120

Type
 Defect

Artifact ID
 FDO120 (Missing include guard in FdoRdbmsMySqlFilterProcessor.h)

Reported by
 Mateusz Loskot
 mloskot (mateusz at loskot.net)

New artifact details:
---------------------------------------------------------

- Steps to Reproduce set to new value
  I'm sure this explanation is not necessary, but I provide it just to keep things in order:

1. Open file FdoRdbmsMySqlFilterProcessor.h
2. Go to line 18-20 where is placed WIN32-only #pragma once directive

- Subcomponent set to new value
  FILTERS
- Platform set to new value
  PC
- OS Distribution and Version set to new value
  Ubuntu 6.06
- Resolution Description set to new value
  At the beginning of file mentioned in the report, add:

#ifndef FDORDBMSMYSQLFILTERPROCESSOR_H
#define FDORDBMSMYSQLFILTERPROCESSOR_H

At the end, at this:

#endif // FDORDBMSMYSQLFILTERPROCESSOR_H

- Operating system set to new value
  Linux
- Defect Severity set to new value
  Low
- Artifact Status set to new value
  Unconfirmed
- Component set to new value
  RDBMS
- Artifact created
- Description set to new value
  There is no header inclusion guard in the following file:

Providers/GenericRdbms/Src/MySQL/Fdo/FdoRdbmsMySqlFilterProcessor.h

#pragma once is wrapped for WIN32 platforms only.
Also, #pragma once is supported by many but not all compilers.

- Summary set to new value
  Missing include guard in FdoRdbmsMySqlFilterProcessor.h

---------------------------------------------------------
This message was automatically generated by Project Tracker.








More information about the Fdo_issues mailing list